]> git.ipfire.org Git - thirdparty/valgrind.git/commit
s390x: Fix BZ 496950
authorFlorian Krohm <flo2030@eich-krohm.de>
Wed, 12 Mar 2025 23:10:06 +0000 (23:10 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Wed, 12 Mar 2025 23:10:06 +0000 (23:10 +0000)
commit744e47c8ff5bd9a7908b63b9d053b32bac18d686
tree50466487a5ce4333f9d2dab672c743bbf2e5c1fe
parentaee4a0a72e9a0dc49af18806643a49749db7eb5c
s390x: Fix BZ 496950

Adding a new hardware capability requires changes in several places.
Generally for a new FOO hardware capability:
- add VEX_HWCAPS_S390X_FOO and update VEX_HWCAPS_S390X_ALL in libvex.h
- test the corresponding facility bit in m_machine.c
- add s390_host_has_foo in host_s390_defs.h
- if an insn requiring FOO cannot be implemented on the host by other means
  - add EmFail_S390X_foo in libvex_emnote.h
- handle EmFail_S390X_foo in main_main.c
- update function show_hwcaps_s390x

Occasionally something gets forgotten and this patch adds the forgotten
pieces.
Also add new hardware capabilities vxe2, vxd, msa, msa4, msa8, msa9

Fixes: https://bugs.kde.org/show_bug.cgi?id=496950
NEWS
VEX/priv/host_s390_defs.h
VEX/priv/main_main.c
VEX/pub/libvex.h
VEX/pub/libvex_emnote.h
coregrind/m_extension/extension-s390x.c
coregrind/m_machine.c