|
From: Paul F. <pa...@so...> - 2026-03-20 20:08:48
|
https://sourceware.org/cgit/valgrind/commit/?id=2e5b1c2f8829d9038629c601ae1304ee85435422 commit 2e5b1c2f8829d9038629c601ae1304ee85435422 Author: Paul Floyd <pj...@wa...> Date: Fri Mar 20 21:01:18 2026 +0100 Fix a few VexGuestXxxState offset comments I haven't checked them all, but a few were wrong. This is part of the preparation for a patch for bug 486180. Diff: --- VEX/pub/libvex_guest_amd64.h | 8 ++++---- VEX/pub/libvex_guest_ppc32.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/VEX/pub/libvex_guest_amd64.h b/VEX/pub/libvex_guest_amd64.h index 1e2ca5dc64..2f5cd37d17 100644 --- a/VEX/pub/libvex_guest_amd64.h +++ b/VEX/pub/libvex_guest_amd64.h @@ -80,9 +80,9 @@ typedef /* 176 */ ULong guest_DFLAG; /* 184 */ ULong guest_RIP; /* Bit 18 (AC) of eflags stored here, as either 0 or 1. */ - /* ... */ ULong guest_ACFLAG; + /* 192 */ ULong guest_ACFLAG; /* Bit 21 (ID) of eflags stored here, as either 0 or 1. */ - /* 192 */ ULong guest_IDFLAG; + /* 200 */ ULong guest_IDFLAG; /* Probably a lot more stuff too. D,ID flags 16 128-bit SSE registers @@ -99,8 +99,8 @@ typedef consecutively in order that the SSE4.2 PCMP{E,I}STR{I,M} helpers can treat them as an array. YMM16 is a fake reg used as an intermediary in handling aforementioned insns. */ - /* 208 */ULong guest_SSEROUND; - /* 216 */U256 guest_YMM0; + /* 216 */ULong guest_SSEROUND; + /* 224 */U256 guest_YMM0; U256 guest_YMM1; U256 guest_YMM2; U256 guest_YMM3; diff --git a/VEX/pub/libvex_guest_ppc32.h b/VEX/pub/libvex_guest_ppc32.h index f0cdedacb6..98dffec6bc 100644 --- a/VEX/pub/libvex_guest_ppc32.h +++ b/VEX/pub/libvex_guest_ppc32.h @@ -238,7 +238,7 @@ typedef /* Needed for Darwin (but mandated for all guest architectures): CIA at the last SC insn. Used when backing up to restart a syscall that has been interrupted by a signal. */ - /* 134C */ UInt guest_IP_AT_SYSCALL; + /* 1352 */ UInt guest_IP_AT_SYSCALL; /* SPRG3, which AIUI is readonly in user space. Needed for threading on AIX. */ |