]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
MIPS/GAS/testsuite: Run the div macro test across architectures
authorMaciej W. Rozycki <macro@redhat.com>
Fri, 19 Jul 2024 08:42:56 +0000 (09:42 +0100)
committerMaciej W. Rozycki <macro@redhat.com>
Fri, 19 Jul 2024 08:42:56 +0000 (09:42 +0100)
commita70e2bc4fcc8ebefba9c4fe9144185ac7876d75b
tree6829deb90da64d500704de0e9e71bcf4851a20d7
parent875ac09b1217981fcd8d72908f45ecd9540fe8b5
MIPS/GAS/testsuite: Run the div macro test across architectures

The division macros expand differently depending on the ISA selected, so
run the 'div' macro test across compatible architectures, adopting the
'div-ilocks' test orphaned by commit 23fce1e31156 ("MIPS16 intermix test
failure"), <https://sourceware.org/ml/binutils/2009-01/msg00335.html>,
and providing coverage for the expansion variants.

Only run from MIPS III up for now and remove the ISA override from the
source, so that the 64-bit instructions are covered for individual
64-bit architectures.
gas/testsuite/gas/mips/div-ilocks.d [deleted file]
gas/testsuite/gas/mips/div.d
gas/testsuite/gas/mips/div.s
gas/testsuite/gas/mips/micromips@div.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/mips3@div.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips4@div.d [new file with mode: 0644]
gas/testsuite/gas/mips/mips5@div.d [new file with mode: 0644]
gas/testsuite/gas/mips/r4000@div.d [new file with mode: 0644]
gas/testsuite/gas/mips/vr5400@div.d [new file with mode: 0644]