From 12f4afcba28931ea6f367e11abc2f27ba68ee7f9 Mon Sep 17 00:00:00 2001 From: Leslie Zhai Date: Thu, 14 Nov 2024 23:01:36 +0800 Subject: [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) --- src/include/myalign.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') 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 */ -- cgit 1.4.1