diff --git a/gas/ChangeLog b/gas/ChangeLog index 62d18c33b3..be2a658c06 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,36 @@ +2017-05-10 Maciej W. Rozycki + + * testsuite/gas/mips/isa-override-2.d: New test. + * testsuite/gas/mips/mips1@isa-override-2.d: New test. + * testsuite/gas/mips/r3000@isa-override-2.d: New test. + * testsuite/gas/mips/r3900@isa-override-2.d: New test. + * testsuite/gas/mips/mips2@isa-override-2.d: New test. + * testsuite/gas/mips/mips32@isa-override-2.d: New test. + * testsuite/gas/mips/mips32r2@isa-override-2.d: New test. + * testsuite/gas/mips/mips32r3@isa-override-2.d: New test. + * testsuite/gas/mips/mips32r5@isa-override-2.d: New test. + * testsuite/gas/mips/mips32r6@isa-override-2.d: New test. + * testsuite/gas/mips/octeon3@isa-override-2.d: New test. + * testsuite/gas/mips/r3000@isa-override-2.l: Remove list test. + * testsuite/gas/mips/mips1@isa-override-2.s: Remove test source. + * testsuite/gas/mips/r3000@isa-override-2.s: Remove test source. + * testsuite/gas/mips/r3900@isa-override-2.s: Remove test source. + * testsuite/gas/mips/mips2@isa-override-2.s: Remove test source. + * testsuite/gas/mips/mips32@isa-override-2.s: Remove test + source. + * testsuite/gas/mips/mips32r2@isa-override-2.s: Remove test + source. + * testsuite/gas/mips/mips32r3@isa-override-2.s: Remove test + source. + * testsuite/gas/mips/mips32r5@isa-override-2.s: Remove test + source. + * testsuite/gas/mips/mips32r6@isa-override-2.s: Remove test + source. + * testsuite/gas/mips/octeon3@isa-override-2.s: Remove test + source. + * gas/testsuite/gas/mips/mips.exp: Fold corresponding list tests + into the new tests. + 2017-05-10 Maciej W. Rozycki * testsuite/gas/mips/mips16e-sub.d: Correct test name. diff --git a/gas/testsuite/gas/mips/isa-override-2.d b/gas/testsuite/gas/mips/isa-override-2.d new file mode 100644 index 0000000000..8ad46efa11 --- /dev/null +++ b/gas/testsuite/gas/mips/isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: isa-override-2.l diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp index b71f600c40..9574d22c42 100644 --- a/gas/testsuite/gas/mips/mips.exp +++ b/gas/testsuite/gas/mips/mips.exp @@ -1875,7 +1875,7 @@ if { [istarget mips*-*-vxworks*] } { run_dump_test "option-pic-relax-5" run_dump_test_arches "isa-override-1" "" [mips_arch_list_matching mips1] - run_list_test_arches "isa-override-2" "-32" [mips_arch_list_matching mips1] + run_dump_test_arches "isa-override-2" "" [mips_arch_list_matching mips1] run_dump_test "debug-label-end-1" run_dump_test "debug-label-end-2" diff --git a/gas/testsuite/gas/mips/mips1@isa-override-2.d b/gas/testsuite/gas/mips/mips1@isa-override-2.d new file mode 100644 index 0000000000..63f6b390ff --- /dev/null +++ b/gas/testsuite/gas/mips/mips1@isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: mips1@isa-override-2.l diff --git a/gas/testsuite/gas/mips/mips1@isa-override-2.s b/gas/testsuite/gas/mips/mips1@isa-override-2.s deleted file mode 100644 index 402c118295..0000000000 --- a/gas/testsuite/gas/mips/mips1@isa-override-2.s +++ /dev/null @@ -1,18 +0,0 @@ - .text - .globl foo - .ent foo -foo: - dli $2, 0x9000000080000000 - .set push - .set mips3 - dli $2, 0x9000000080000000 - .set mips0 - dli $2, 0x9000000080000000 - .set mips3 - .set pop - dli $2, 0x9000000080000000 - .end foo - -# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... - .align 4, 0 - .space 16 diff --git a/gas/testsuite/gas/mips/mips2@isa-override-2.d b/gas/testsuite/gas/mips/mips2@isa-override-2.d new file mode 100644 index 0000000000..457ef82dea --- /dev/null +++ b/gas/testsuite/gas/mips/mips2@isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: mips2@isa-override-2.l diff --git a/gas/testsuite/gas/mips/mips2@isa-override-2.s b/gas/testsuite/gas/mips/mips2@isa-override-2.s deleted file mode 100644 index 402c118295..0000000000 --- a/gas/testsuite/gas/mips/mips2@isa-override-2.s +++ /dev/null @@ -1,18 +0,0 @@ - .text - .globl foo - .ent foo -foo: - dli $2, 0x9000000080000000 - .set push - .set mips3 - dli $2, 0x9000000080000000 - .set mips0 - dli $2, 0x9000000080000000 - .set mips3 - .set pop - dli $2, 0x9000000080000000 - .end foo - -# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... - .align 4, 0 - .space 16 diff --git a/gas/testsuite/gas/mips/mips32@isa-override-2.d b/gas/testsuite/gas/mips/mips32@isa-override-2.d new file mode 100644 index 0000000000..76b2d46bd7 --- /dev/null +++ b/gas/testsuite/gas/mips/mips32@isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: mips32@isa-override-2.l diff --git a/gas/testsuite/gas/mips/mips32@isa-override-2.s b/gas/testsuite/gas/mips/mips32@isa-override-2.s deleted file mode 100644 index 402c118295..0000000000 --- a/gas/testsuite/gas/mips/mips32@isa-override-2.s +++ /dev/null @@ -1,18 +0,0 @@ - .text - .globl foo - .ent foo -foo: - dli $2, 0x9000000080000000 - .set push - .set mips3 - dli $2, 0x9000000080000000 - .set mips0 - dli $2, 0x9000000080000000 - .set mips3 - .set pop - dli $2, 0x9000000080000000 - .end foo - -# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... - .align 4, 0 - .space 16 diff --git a/gas/testsuite/gas/mips/mips32r2@isa-override-2.d b/gas/testsuite/gas/mips/mips32r2@isa-override-2.d new file mode 100644 index 0000000000..3625719f2d --- /dev/null +++ b/gas/testsuite/gas/mips/mips32r2@isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: mips32r2@isa-override-2.l diff --git a/gas/testsuite/gas/mips/mips32r2@isa-override-2.s b/gas/testsuite/gas/mips/mips32r2@isa-override-2.s deleted file mode 100644 index 402c118295..0000000000 --- a/gas/testsuite/gas/mips/mips32r2@isa-override-2.s +++ /dev/null @@ -1,18 +0,0 @@ - .text - .globl foo - .ent foo -foo: - dli $2, 0x9000000080000000 - .set push - .set mips3 - dli $2, 0x9000000080000000 - .set mips0 - dli $2, 0x9000000080000000 - .set mips3 - .set pop - dli $2, 0x9000000080000000 - .end foo - -# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... - .align 4, 0 - .space 16 diff --git a/gas/testsuite/gas/mips/mips32r3@isa-override-2.d b/gas/testsuite/gas/mips/mips32r3@isa-override-2.d new file mode 100644 index 0000000000..fe6298ea08 --- /dev/null +++ b/gas/testsuite/gas/mips/mips32r3@isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: mips32r3@isa-override-2.l diff --git a/gas/testsuite/gas/mips/mips32r3@isa-override-2.s b/gas/testsuite/gas/mips/mips32r3@isa-override-2.s deleted file mode 100644 index 402c118295..0000000000 --- a/gas/testsuite/gas/mips/mips32r3@isa-override-2.s +++ /dev/null @@ -1,18 +0,0 @@ - .text - .globl foo - .ent foo -foo: - dli $2, 0x9000000080000000 - .set push - .set mips3 - dli $2, 0x9000000080000000 - .set mips0 - dli $2, 0x9000000080000000 - .set mips3 - .set pop - dli $2, 0x9000000080000000 - .end foo - -# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... - .align 4, 0 - .space 16 diff --git a/gas/testsuite/gas/mips/mips32r5@isa-override-2.d b/gas/testsuite/gas/mips/mips32r5@isa-override-2.d new file mode 100644 index 0000000000..f9f7d14cea --- /dev/null +++ b/gas/testsuite/gas/mips/mips32r5@isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: mips32r5@isa-override-2.l diff --git a/gas/testsuite/gas/mips/mips32r5@isa-override-2.s b/gas/testsuite/gas/mips/mips32r5@isa-override-2.s deleted file mode 100644 index 402c118295..0000000000 --- a/gas/testsuite/gas/mips/mips32r5@isa-override-2.s +++ /dev/null @@ -1,18 +0,0 @@ - .text - .globl foo - .ent foo -foo: - dli $2, 0x9000000080000000 - .set push - .set mips3 - dli $2, 0x9000000080000000 - .set mips0 - dli $2, 0x9000000080000000 - .set mips3 - .set pop - dli $2, 0x9000000080000000 - .end foo - -# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... - .align 4, 0 - .space 16 diff --git a/gas/testsuite/gas/mips/mips32r6@isa-override-2.d b/gas/testsuite/gas/mips/mips32r6@isa-override-2.d new file mode 100644 index 0000000000..c80e6cb151 --- /dev/null +++ b/gas/testsuite/gas/mips/mips32r6@isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: mips32r6@isa-override-2.l diff --git a/gas/testsuite/gas/mips/mips32r6@isa-override-2.s b/gas/testsuite/gas/mips/mips32r6@isa-override-2.s deleted file mode 100644 index 402c118295..0000000000 --- a/gas/testsuite/gas/mips/mips32r6@isa-override-2.s +++ /dev/null @@ -1,18 +0,0 @@ - .text - .globl foo - .ent foo -foo: - dli $2, 0x9000000080000000 - .set push - .set mips3 - dli $2, 0x9000000080000000 - .set mips0 - dli $2, 0x9000000080000000 - .set mips3 - .set pop - dli $2, 0x9000000080000000 - .end foo - -# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... - .align 4, 0 - .space 16 diff --git a/gas/testsuite/gas/mips/octeon3@isa-override-2.d b/gas/testsuite/gas/mips/octeon3@isa-override-2.d new file mode 100644 index 0000000000..bb4e0a9d25 --- /dev/null +++ b/gas/testsuite/gas/mips/octeon3@isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: octeon3@isa-override-2.l diff --git a/gas/testsuite/gas/mips/octeon3@isa-override-2.s b/gas/testsuite/gas/mips/octeon3@isa-override-2.s deleted file mode 100644 index 402c118295..0000000000 --- a/gas/testsuite/gas/mips/octeon3@isa-override-2.s +++ /dev/null @@ -1,18 +0,0 @@ - .text - .globl foo - .ent foo -foo: - dli $2, 0x9000000080000000 - .set push - .set mips3 - dli $2, 0x9000000080000000 - .set mips0 - dli $2, 0x9000000080000000 - .set mips3 - .set pop - dli $2, 0x9000000080000000 - .end foo - -# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... - .align 4, 0 - .space 16 diff --git a/gas/testsuite/gas/mips/r3000@isa-override-2.d b/gas/testsuite/gas/mips/r3000@isa-override-2.d new file mode 100644 index 0000000000..63f6b390ff --- /dev/null +++ b/gas/testsuite/gas/mips/r3000@isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: mips1@isa-override-2.l diff --git a/gas/testsuite/gas/mips/r3000@isa-override-2.l b/gas/testsuite/gas/mips/r3000@isa-override-2.l deleted file mode 100644 index 2ec668427b..0000000000 --- a/gas/testsuite/gas/mips/r3000@isa-override-2.l +++ /dev/null @@ -1,4 +0,0 @@ -.*: Assembler messages: -.*:5: Error: opcode not supported on this processor: mips1 \(mips1\) `dli \$2,0x9000000080000000' -.*:10: Error: opcode not supported on this processor: mips1 \(mips1\) `dli \$2,0x9000000080000000' -.*:13: Error: opcode not supported on this processor: mips1 \(mips1\) `dli \$2,0x9000000080000000' diff --git a/gas/testsuite/gas/mips/r3000@isa-override-2.s b/gas/testsuite/gas/mips/r3000@isa-override-2.s deleted file mode 100644 index 402c118295..0000000000 --- a/gas/testsuite/gas/mips/r3000@isa-override-2.s +++ /dev/null @@ -1,18 +0,0 @@ - .text - .globl foo - .ent foo -foo: - dli $2, 0x9000000080000000 - .set push - .set mips3 - dli $2, 0x9000000080000000 - .set mips0 - dli $2, 0x9000000080000000 - .set mips3 - .set pop - dli $2, 0x9000000080000000 - .end foo - -# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... - .align 4, 0 - .space 16 diff --git a/gas/testsuite/gas/mips/r3900@isa-override-2.d b/gas/testsuite/gas/mips/r3900@isa-override-2.d new file mode 100644 index 0000000000..2ee8b7d47a --- /dev/null +++ b/gas/testsuite/gas/mips/r3900@isa-override-2.d @@ -0,0 +1,4 @@ +#name: MIPS ISA override code generation 2 +#as: -32 +#source: isa-override-2.s +#error-output: r3900@isa-override-2.l diff --git a/gas/testsuite/gas/mips/r3900@isa-override-2.s b/gas/testsuite/gas/mips/r3900@isa-override-2.s deleted file mode 100644 index 402c118295..0000000000 --- a/gas/testsuite/gas/mips/r3900@isa-override-2.s +++ /dev/null @@ -1,18 +0,0 @@ - .text - .globl foo - .ent foo -foo: - dli $2, 0x9000000080000000 - .set push - .set mips3 - dli $2, 0x9000000080000000 - .set mips0 - dli $2, 0x9000000080000000 - .set mips3 - .set pop - dli $2, 0x9000000080000000 - .end foo - -# Force some (non-delay-slot) zero bytes, to make 'objdump' print ... - .align 4, 0 - .space 16