mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
PPC64: Fix for VG_MAX_INSTR_SZB, max instruction size is now 8bytes for prefix inst
The ISA 3.1 support has both word instructions of length 4-bytes and prefixed instruction of length 8-bytes. The following fix is needed when Valgrind is compiled using an ISA 3.1 compiler.
This commit is contained in:
parent
ebb8ad0156
commit
10f16e8d9e
@ -53,7 +53,7 @@
|
||||
|
||||
#elif defined(VGP_ppc64be_linux) || defined(VGP_ppc64le_linux)
|
||||
# define VG_MIN_INSTR_SZB 4
|
||||
# define VG_MAX_INSTR_SZB 4
|
||||
# define VG_MAX_INSTR_SZB 8 // Prefix inst 8 bytes, word inst 4 bytes
|
||||
# define VG_CLREQ_SZB 20
|
||||
# define VG_STACK_REDZONE_SZB 288 // number of addressable bytes below R1
|
||||
// from 64-bit PowerPC ELF ABI
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user