[Sparc] Add support to decode negative simm13 operands in the sparc disassembler.
[oota-llvm.git] / test / MC / Disassembler / Sparc / sparc.txt
index f917c8aa1888df088eafdabcaef0bd3952d96a98..8c16c19c27483984492b243fdbdc4bb8f146fbb5 100644 (file)
 
 # CHECK: call 16
 0x40 0x00 0x00 0x04
+
+# CHECK: add %g1, -10, %g2
+0x84 0x00 0x7f 0xf6
+
+# CHECK: save %sp, -196, %sp
+0x9d 0xe3 0xbf 0x3c
+
+# CHECK: cmp %g1, -2
+0x80 0xa0 0x7f 0xfe
+
+# CHECK: wr %g1, -2, %y
+0x81 0x80 0x7f 0xfe
+