bfd/
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / set-arch.s
index 01a6c8329168e4a27b5f51556f18ad457735a912..7f1f0c2b9dda1cbaccb36226b922ceb62768cb46 100644 (file)
@@ -200,11 +200,17 @@ text_label:
        wait    0                       # disassembles without code
        wait    0x56789
 
-       # Instructions in previous ISAs or CPUs which are now slightly
-       # different.
+       # For a while break for the mips32 ISA interpreted a single argument
+       # as a 20-bit code, placing it in the opcode differently to
+       # traditional ISAs.  This turned out to cause problems, so it has
+       # been removed.  This test is to assure consistent interpretation.
        break
        break   0                       # disassembles without code
-       break   0x12345
+       break   0x345
+       break   0x48,0x345              # this still specifies a 20-bit code
+
+       # Instructions in previous ISAs or CPUs which are now slightly
+       # different.
        sdbbp
        sdbbp   0                       # disassembles without code
        sdbbp   0x56789
This page took 0.025171 seconds and 4 git commands to generate.