xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/mips/r6-removed.s (revision 4b169a6ba595ae283ca507b26b15fdff40495b1c)
1# Tests the instructions removed in R6 are correctly invalidated
2# mach: mips32r6 mips64r6
3# as:   -mabi=eabi
4# ld:   -N -Ttext=0x80010000
5# output: ReservedInstruction at PC = *\nprogram stopped with signal 4 (Illegal instruction).\n
6# xerror:
7
8  .include "testutils.inc"
9  .include "r6-removed.inc"
10
11  setup
12
13  .set noreorder
14  .ent DIAG
15DIAG:
16  removed_instr
17  fail
18  .end DIAG
19