about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorLeslie Zhai <zhaixiang@loongson.cn>2024-11-14 23:01:36 +0800
committerGitHub <noreply@github.com>2024-11-14 16:01:36 +0100
commit12f4afcba28931ea6f367e11abc2f27ba68ee7f9 (patch)
tree4dc742c23ba83f85b9614cc0c800d197f62b89f9 /src/include
parentcd2638d11a1ce7d1db868e47953740ac540c40ee (diff)
downloadbox64-12f4afcba28931ea6f367e11abc2f27ba68ee7f9.tar.gz
box64-12f4afcba28931ea6f367e11abc2f27ba68ee7f9.zip
[LA64] Implement convert x64_va_list_t to sysv_varargs for float (#2025) (#2031)
* [LA64] Implement convert x64_va_list_t to sysv_varargs for float (#2025)

* [LA64] Implement myStackAlignGVariantNew (#2025)

* [LA64] Limit the log to LOG_DEBUG (#2055)

* [LA64] Add missing file (#2025)
Diffstat (limited to 'src/include')
-rw-r--r--src/include/myalign.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/myalign.h b/src/include/myalign.h
index 8e33aef1..8c6bcc06 100644
--- a/src/include/myalign.h
+++ b/src/include/myalign.h
@@ -135,7 +135,7 @@ typdef struct {
 #define CREATE_SYSV_VALIST(A) \
   va_list sysv_varargs = (va_list)A
 // not creating CONVERT_VALIST(A) on purpose
-// this one will create a VA_LIST from x64_va_list using only GPRS and 100 stack element
+// this one will create a VA_LIST from x64_va_list using only GPRS (NOFLOAT) and 100 stack element
 #define CREATE_VALIST_FROM_VALIST(VA, SCRATCH)                          \
   va_list sysv_varargs;                                                 \
   {                                                                     \
@@ -179,6 +179,7 @@ void myStackAlignValist(x64emu_t* emu, const char* fmt, uint64_t* mystack, x64_v
 void myStackAlignWValist(x64emu_t* emu, const char* fmt, uint64_t* mystack, x64_va_list_t va);
 void myStackAlignScanfValist(x64emu_t* emu, const char* fmt, uint64_t* mystack, x64_va_list_t va);
 void myStackAlignScanfWValist(x64emu_t* emu, const char* fmt, uint64_t* mystack, x64_va_list_t va);
+void myStackAlignGVariantNew(x64emu_t* emu, const char* fmt, uint64_t* scratch, x64_va_list_t* b);
 #endif
 
 struct x64_stat64 {                   /* x86_64       arm64 */