aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJens Remus <jremus@linux.ibm.com>2023-11-23 15:44:41 +0100
committerAndreas Krebbel <krebbel@linux.ibm.com>2023-11-23 15:51:03 +0100
commit3f3c1e513bdf53d78adbde7f9d300c2281de21b9 (patch)
tree4969f2372f8ab891591356e5c55a53981269a589 /opcodes
parent9c422a59953cd6b64bc8ed5f3d6e72a180f13540 (diff)
downloadgdb-3f3c1e513bdf53d78adbde7f9d300c2281de21b9.zip
gdb-3f3c1e513bdf53d78adbde7f9d300c2281de21b9.tar.gz
gdb-3f3c1e513bdf53d78adbde7f9d300c2281de21b9.tar.bz2
s390: Add brasl edge test cases from ESA to z/Architecture
The ESA opcode test cases for IBM z900 contain a few edge cases. They exercise the brasl mnemonic with its largest allowed negative and positive offsets. Linux on zSeries in ESA mode executes in 31-bit addressing mode. Therefore the ESA test cases are assembled with -m31. In 31-bit addressing mode the address computation using those large offsets wraps, which is correctly reflected in the disassembly. Linux on Z in z/Architecture mode executes in 64-bit addressing mode. Therefore the z/Architecture (zarch) test cases are assembled with -m64. In 64-bit addressing mode the address computation using those large offsets does not necessarily wrap. gas/ * testsuite/gas/s390/zarch-z900.s: Add brasl tests from ESA that exercise edge cases. * testsuite/gas/s390/zarch-z900.d: Likewise. Signed-off-by: Jens Remus <jremus@linux.ibm.com> Reviewed-by: Andreas Krebbel <krebbel@linux.ibm.com>
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions