]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Change the data type of libvex_Backend::emit.
authorFlorian Krohm <flo2030@eich-krohm.de>
Wed, 3 Dec 2025 22:26:57 +0000 (22:26 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Wed, 3 Dec 2025 22:26:57 +0000 (22:26 +0000)
commitcd9d7d0d2edeef5ef37582c6d6fa55ca3c3bcccd
treed70a0dc5dde7b38c90a1605c5f195d8150c1b64d
parentfabbec1163e1f5854f5553d6b627525ec614d8b9
Change the data type of libvex_Backend::emit.

Both the s390 and arm insn emitters need to know the host's hardware
capabilities. Today, these are provided by means of global variables
s390_host_hwcaps and arm_hwcaps. To eliminate that kludge the emit
function is changed. Instead of passing VexEndness we now pass a pointer
to VexArchInfo which provides both the endianess and hardware capabilities.

Those global variables will be removed in a followup patch.
19 files changed:
VEX/priv/host_amd64_defs.c
VEX/priv/host_amd64_defs.h
VEX/priv/host_arm64_defs.c
VEX/priv/host_arm64_defs.h
VEX/priv/host_arm_defs.c
VEX/priv/host_arm_defs.h
VEX/priv/host_mips_defs.c
VEX/priv/host_mips_defs.h
VEX/priv/host_nanomips_defs.c
VEX/priv/host_nanomips_defs.h
VEX/priv/host_ppc_defs.c
VEX/priv/host_ppc_defs.h
VEX/priv/host_riscv64_defs.c
VEX/priv/host_riscv64_defs.h
VEX/priv/host_s390_defs.c
VEX/priv/host_s390_defs.h
VEX/priv/host_x86_defs.c
VEX/priv/host_x86_defs.h
VEX/priv/main_main.c