]> git.ipfire.org Git - thirdparty/valgrind.git/commit
s390x: disasm-test: prepare for AR and FPR register support
authorFlorian Krohm <flo2030@eich-krohm.de>
Mon, 24 Mar 2025 21:53:11 +0000 (21:53 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Mon, 24 Mar 2025 21:53:11 +0000 (21:53 +0000)
commit3c8631d826bcd485034b721a450523a1557ec449
tree5f79e6c4ef31882a70c0c0c3c6208fe221ace3de
parentfdca943103761e494f9e59a589d7e15100fe5e7b
s390x: disasm-test: prepare for AR and FPR register support

- New function random_reg to replace random_gpr, random_vr.
- New function unique_reg to replace unique_gpr, unique_vr.
- New function choose_reg_and_iterate to handle register operands whose
  values are constrained, e.g. only even registers.
- Do not call unique_reg for a register operand whose values are constrained.
none/tests/s390x/disasm-test/generate.c