[Sparc] Add support for parsing branch instructions and conditional moves.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198738 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Venkatraman Govindaraju
2014-01-08 06:14:52 +00:00
parent 42fdb1f00f
commit 7ceaa8623c
8 changed files with 614 additions and 15 deletions

View File

@@ -80,3 +80,90 @@
# CHECK: subxcc %g1, %g2, %g3
0x86 0xe0 0x40 0x02
# CHECK: ba 4194303
0x10 0xbf 0xff 0xff
# CHECK: bne 4194303
0x12 0xbf 0xff 0xff
# CHECK: be 4194303
0x02 0xbf 0xff 0xff
# CHECK: bg 4194303
0x14 0xbf 0xff 0xff
# CHECK: ble 4194303
0x04 0xbf 0xff 0xff
# CHECK: bge 4194303
0x16 0xbf 0xff 0xff
# CHECK: bl 4194303
0x06 0xbf 0xff 0xff
# CHECK: bgu 4194303
0x18 0xbf 0xff 0xff
# CHECK: bleu 4194303
0x08 0xbf 0xff 0xff
# CHECK: bcc 4194303
0x1a 0xbf 0xff 0xff
# CHECK: bcs 4194303
0x0a 0xbf 0xff 0xff
# CHECK: bpos 4194303
0x1c 0xbf 0xff 0xff
# CHECK: bneg 4194303
0x0c 0xbf 0xff 0xff
# CHECK: bvc 4194303
0x1e 0xbf 0xff 0xff
# CHECK: bvs 4194303
0x0e 0xbf 0xff 0xff
# CHECK: fbu 4194303
0x0f 0xbf 0xff 0xff
# CHECK: fbg 4194303
0x0d 0xbf 0xff 0xff
# CHECK: fbug 4194303
0x0b 0xbf 0xff 0xff
# CHECK: fbl 4194303
0x09 0xbf 0xff 0xff
# CHECK: fbul 4194303
0x07 0xbf 0xff 0xff
# CHECK: fblg 4194303
0x05 0xbf 0xff 0xff
# CHECK: fbne 4194303
0x03 0xbf 0xff 0xff
# CHECK: fbe 4194303
0x13 0xbf 0xff 0xff
# CHECK: fbue 4194303
0x15 0xbf 0xff 0xff
# CHECK: fbge 4194303
0x17 0xbf 0xff 0xff
# CHECK: fbuge 4194303
0x19 0xbf 0xff 0xff
# CHECK: fble 4194303
0x1b 0xbf 0xff 0xff
# CHECK: fbule 4194303
0x1d 0xbf 0xff 0xff
# CHECK: fbo 4194303
0x1f 0xbf 0xff 0xff