|
From: Florian K. <fl...@ei...> - 2014-02-10 15:28:07
|
Hi. What is the requirement for the size of the guest state? libvex.h:523 says it ought to be 8-byte aligned libvex.h:548 says if ought to be a multiple of 16 svn log -r2333 says: r2333 | sewardj | 2012-05-21 17:45:34 +0200 (Mon, 21 May 2012) | 5 lines Ensure s390x guest state size is 32-byte aligned, as per increase in alignment requirements resulting from r12569/r2330. grep '% 16' priv/*.c provides more evidence for a multiple of 16... priv/main_main.c: vassert(0 == sizeof(VexGuestX86State) % 16); priv/main_main.c: vassert(0 == sizeof(VexGuestAMD64State) % 16); priv/main_main.c: vassert(0 == sizeof(VexGuestPPC32State) % 16); priv/main_main.c: vassert(0 == sizeof(VexGuestPPC64State) % 16); priv/main_main.c: vassert(0 == sizeof(VexGuestS390XState) % 16); priv/main_main.c: vassert(0 == sizeof(VexGuestARMState) % 16); priv/main_main.c: vassert(0 == sizeof(VexGuestARM64State) % 16); priv/main_main.c: vassert(0 == sizeof(VexGuestMIPS32State) % 16); priv/main_main.c: vassert(0 == sizeof(VexGuestMIPS64State) % 16); Was the increase to multiple-of-32 reverted at some point ? Florian |