]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
s390: Fix s390_irgen_VSTEF
authorFlorian Krohm <flo2030@eich-krohm.de>
Wed, 4 Feb 2026 20:51:48 +0000 (20:51 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Wed, 4 Feb 2026 20:51:48 +0000 (20:51 +0000)
Fix the s390_insn_assert. There are 4, not 8, word-sized elements in a
vector register.

Found by disasm-test.

VEX/priv/guest_s390_toIR.c
none/tests/s390x/disasm-test/disasm-test.post.exp
none/tests/s390x/disasm-test/disasm-test.vgtest

index d9309e522cd6d57cc22693671381ef6346a1bdf4..939d9b0cca11b19f3516ab061729afda20cf3c0f 100644 (file)
@@ -14424,7 +14424,7 @@ s390_irgen_VSTEH(UChar v1, IRTemp op2addr, UChar m3)
 static void
 s390_irgen_VSTEF(UChar v1, IRTemp op2addr, UChar m3)
 {
-   s390_insn_assert(m3 < 8);
+   s390_insn_assert(m3 < 4);
 
    store(mkexpr(op2addr), get_vr(v1, Ity_I32, m3));
 }
index d9714a8dc7c1dea386bd4541edefa63936856635..8742a9b74ca34106e630818089c602fbd927c7e6 100644 (file)
@@ -1,6 +1,6 @@
 Looking for missed specification exceptions
-Total:  42579 tests generated
-Total:  42579 specification exceptions
+Total:  42771 tests generated
+Total:  42771 specification exceptions
 Looking for unexpected specification exceptions
-Total: 153717 tests generated
+Total: 153781 tests generated
 Total:      0 specification exceptions
index a5d9d844c3de89255de8d98f2ab57adf51fda869..ba921175a0951a3395e271abd8359e83ed1a0fd3 100644 (file)
 # vgeg - runs into an assert instead of spec. exc.
 # vscef - runs into an assert instead of spec. exc.
 # vsceg - runs into an assert instead of spec. exc.
-# vstef - runs into an assert instead of spec. exc.
 
 prereq: ./disasm-test --check-march=arch14
 prog: /bin/true
-post: ./disasm-test --gcc-flags=-march=arch14 --all --exclude exrl kma vgef vgeg vscef vsceg vstef srnmb --summary
+post: ./disasm-test --gcc-flags=-march=arch14 --all --exclude exrl kma vgef vgeg vscef vsceg srnmb --summary
 vgopts: -q
 stderr_filter:
 stderrB_filter: