diff options
Diffstat (limited to 'sim/testsuite/mips/r6-removed.s')
-rw-r--r-- | sim/testsuite/mips/r6-removed.s | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sim/testsuite/mips/r6-removed.s b/sim/testsuite/mips/r6-removed.s new file mode 100644 index 0000000..4f2605f --- /dev/null +++ b/sim/testsuite/mips/r6-removed.s @@ -0,0 +1,18 @@ +# Tests the instructions removed in R6 are correctly invalidated +# mach: mips32r6 mips64r6 +# as: -mabi=eabi +# ld: -N -Ttext=0x80010000 +# output: ReservedInstruction at PC = *\nprogram stopped with signal 4 (Illegal instruction).\n +# xerror: + + .include "testutils.inc" + .include "r6-removed.inc" + + setup + + .set noreorder + .ent DIAG +DIAG: + removed_instr + fail + .end DIAG |