diff options
Diffstat (limited to 'llvm/test/MC/Sparc/sparc-ctrl-instructions.s')
| -rw-r--r-- | llvm/test/MC/Sparc/sparc-ctrl-instructions.s | 184 |
1 files changed, 184 insertions, 0 deletions
diff --git a/llvm/test/MC/Sparc/sparc-ctrl-instructions.s b/llvm/test/MC/Sparc/sparc-ctrl-instructions.s index ccfa36a0b14..8f3ad55cd3f 100644 --- a/llvm/test/MC/Sparc/sparc-ctrl-instructions.s +++ b/llvm/test/MC/Sparc/sparc-ctrl-instructions.s @@ -199,6 +199,74 @@ ! CHECK: fbo .BB0 ! encoding: [0x1f,0b10AAAAAA,A,A] ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 fbo .BB0 + + ! CHECK: cba .BB0 ! encoding: [0x11,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb .BB0 + + ! CHECK: cba .BB0 ! encoding: [0x11,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cba .BB0 + + ! CHECK: cbn .BB0 ! encoding: [0x01,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cbn .BB0 + + ! CHECK: cb3 .BB0 ! encoding: [0x0f,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb3 .BB0 + + ! CHECK: cb2 .BB0 ! encoding: [0x0d,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb2 .BB0 + + ! CHECK: cb23 .BB0 ! encoding: [0x0b,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb23 .BB0 + + ! CHECK: cb1 .BB0 ! encoding: [0x09,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb1 .BB0 + + ! CHECK: cb13 .BB0 ! encoding: [0x07,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb13 .BB0 + + ! CHECK: cb12 .BB0 ! encoding: [0x05,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb12 .BB0 + + ! CHECK: cb123 .BB0 ! encoding: [0x03,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb123 .BB0 + + ! CHECK: cb0 .BB0 ! encoding: [0x13,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb0 .BB0 + + ! CHECK: cb03 .BB0 ! encoding: [0x15,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb03 .BB0 + + ! CHECK: cb02 .BB0 ! encoding: [0x17,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb02 .BB0 + + ! CHECK: cb023 .BB0 ! encoding: [0x19,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb023 .BB0 + + ! CHECK: cb01 .BB0 ! encoding: [0x1b,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb01 .BB0 + + ! CHECK: cb013 .BB0 ! encoding: [0x1d,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb013 .BB0 + + ! CHECK: cb012 .BB0 ! encoding: [0x1f,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb012 .BB0 ! CHECK: ba,a .BB0 ! encoding: [0x30,0b10AAAAAA,A,A] ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 @@ -317,3 +385,119 @@ ! CHECK: rett %i7+8 ! encoding: [0x81,0xcf,0xe0,0x08] rett %i7 + 8 + + ! CHECK: cb3,a .BB0 ! encoding: [0x2f,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb3,a .BB0 + + ! CHECK: cb2,a .BB0 ! encoding: [0x2d,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb2,a .BB0 + + ! CHECK: cb23,a .BB0 ! encoding: [0x2b,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb23,a .BB0 + + ! CHECK: cb1,a .BB0 ! encoding: [0x29,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb1,a .BB0 + + ! CHECK: cb13,a .BB0 ! encoding: [0x27,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb13,a .BB0 + + ! CHECK: cb12,a .BB0 ! encoding: [0x25,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb12,a .BB0 + + ! CHECK: cb123,a .BB0 ! encoding: [0x23,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb123,a .BB0 + + ! CHECK: cb0,a .BB0 ! encoding: [0x33,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb0,a .BB0 + + ! CHECK: cb03,a .BB0 ! encoding: [0x35,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb03,a .BB0 + + ! CHECK: cb02,a .BB0 ! encoding: [0x37,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb02,a .BB0 + + ! CHECK: cb023,a .BB0 ! encoding: [0x39,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb023,a .BB0 + + ! CHECK: cb01,a .BB0 ! encoding: [0x3b,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb01,a .BB0 + + ! CHECK: cb013,a .BB0 ! encoding: [0x3d,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb013,a .BB0 + + ! CHECK: cb012,a .BB0 ! encoding: [0x3f,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb012,a .BB0 + + ! CHECK: cb3,a .BB0 ! encoding: [0x2f,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb3,a .BB0 + + ! CHECK: cb2,a .BB0 ! encoding: [0x2d,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb2,a .BB0 + + ! CHECK: cb23,a .BB0 ! encoding: [0x2b,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb23,a .BB0 + + ! CHECK: cb1,a .BB0 ! encoding: [0x29,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb1,a .BB0 + + ! CHECK: cb13,a .BB0 ! encoding: [0x27,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb13,a .BB0 + + ! CHECK: cb12,a .BB0 ! encoding: [0x25,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb12,a .BB0 + + ! CHECK: cb123,a .BB0 ! encoding: [0x23,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb123,a .BB0 + + ! CHECK: cb0,a .BB0 ! encoding: [0x33,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb0,a .BB0 + + ! CHECK: cb03,a .BB0 ! encoding: [0x35,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb03,a .BB0 + + ! CHECK: cb02,a .BB0 ! encoding: [0x37,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb02,a .BB0 + + ! CHECK: cb023,a .BB0 ! encoding: [0x39,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb023,a .BB0 + + ! CHECK: cb01,a .BB0 ! encoding: [0x3b,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb01,a .BB0 + + ! CHECK: cb013,a .BB0 ! encoding: [0x3d,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb013,a .BB0 + + ! CHECK: cb012,a .BB0 ! encoding: [0x3f,0b11AAAAAA,A,A] + ! CHECK-NEXT: ! fixup A - offset: 0, value: .BB0, kind: fixup_sparc_br22 + cb012,a .BB0 + + ! CHECK: rett %i7+8 ! encoding: [0x81,0xcf,0xe0,0x08] + rett %i7 + 8 + |

