1# RUN: llvm-mc -triple=ve --show-encoding < %s \ 2# RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST 3# RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \ 4# RUN: | FileCheck %s --check-prefixes=CHECK-INST 5 6# CHECK-INST: b.l 8199 7# CHECK-ENCODING: encoding: [0x07,0x20,0x00,0x00,0x00,0x00,0x0f,0x19] 8b.l 8199 9 10# CHECK-INST: b.l.t 20(, %s11) 11# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x00,0x3f,0x19] 12b.l.t 20(, %s11) 13 14# CHECK-INST: baf.l.nt -1(, %s11) 15# CHECK-ENCODING: encoding: [0xff,0xff,0xff,0xff,0x8b,0x00,0x20,0x19] 16baf.l.nt -1(, %s11) 17 18# CHECK-INST: b.w.t 20(, %s11) 19# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x00,0x3f,0x1b] 20b.w.t 20(, %s11) 21 22# CHECK-INST: baf.d.nt -1(, %s11) 23# CHECK-ENCODING: encoding: [0xff,0xff,0xff,0xff,0x8b,0x00,0x20,0x1c] 24baf.d.nt -1(, %s11) 25 26# CHECK-INST: b.s.t 20(, %s11) 27# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x00,0xbf,0x1c] 28b.s.t 20(,%s11) 29 30# CHECK-INST: bgt.d %s20, 20(, %s11) 31# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x01,0x1c] 32bgt.d %s20, 20(, %s11) 33 34# CHECK-INST: bgt.l.t %s20, 8192 35# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0x31,0x19] 36bgt.l.t %s20, 8192 37 38# CHECK-INST: bgt.d.nt %s20, 20(, %s11) 39# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x21,0x1c] 40bgt.d.nt %s20, 20(, %s11) 41 42# CHECK-INST: blt.w.t %s20, 8192 43# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0x32,0x1b] 44blt.w.t %s20, 8192 45 46# CHECK-INST: blt.s.nt %s20, (, %s11) 47# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x94,0xa2,0x1c] 48blt.s.nt %s20, (, %s11) 49 50# CHECK-INST: bne.l.t %s20, 8192 51# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0x33,0x19] 52bne.l.t %s20, 8192 53 54# CHECK-INST: bne.d.nt %s20, 20(, %s11) 55# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x23,0x1c] 56bne.d.nt %s20, 20(, %s11) 57 58# CHECK-INST: beq.w.t %s20, 8192 59# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0x34,0x1b] 60beq.w.t %s20, 8192 61 62# CHECK-INST: beq.s.nt %s20, (, %s11) 63# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x94,0xa4,0x1c] 64beq.s.nt %s20, (,%s11) 65 66# CHECK-INST: bge.l.t 63, 8192 67# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x3f,0x35,0x19] 68bge.l.t 63, 8192 69 70# CHECK-INST: bge.d.nt -64, 20(, %s11) 71# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x40,0x25,0x1c] 72bge.d.nt -64, 20(, %s11) 73 74# CHECK-INST: ble.w.t %s20, 8192 75# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0x36,0x1b] 76ble.w.t %s20, 8192 77 78# CHECK-INST: ble.s.nt %s20, (, %s11) 79# CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x94,0xa6,0x1c] 80ble.s.nt %s20, (,%s11) 81 82# CHECK-INST: bnum.s.t %s20, 8192 83# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0xb7,0x1c] 84bnum.s.t %s20, 8192 85 86# CHECK-INST: bnum.d.nt %s20, 20(, %s11) 87# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x27,0x1c] 88bnum.d.nt %s20, 20(, %s11) 89 90# CHECK-INST: bnan.s.t %s20, 8192 91# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0xb8,0x1c] 92bnan.s.t %s20, 8192 93 94# CHECK-INST: bnan.d.nt %s20, 20(, %s11) 95# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x28,0x1c] 96bnan.d.nt %s20, 20(, %s11) 97 98# CHECK-INST: bgtnan.s.t %s20, 8192 99# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0xb9,0x1c] 100bgtnan.s.t %s20, 8192 101 102# CHECK-INST: bltnan.d.nt %s20, 20(, %s11) 103# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x2a,0x1c] 104bltnan.d.nt %s20, 20(, %s11) 105 106# CHECK-INST: bnenan.s.t %s20, 8192 107# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0xbb,0x1c] 108bnenan.s.t %s20, 8192 109 110# CHECK-INST: beqnan.d.nt %s20, 20(, %s11) 111# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x2c,0x1c] 112beqnan.d.nt %s20, 20(, %s11) 113 114# CHECK-INST: bgenan.s.t %s20, 8192 115# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0xbd,0x1c] 116bgenan.s.t %s20, 8192 117 118# CHECK-INST: blenan.d.nt %s20, 20(, %s11) 119# CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x2e,0x1c] 120blenan.d.nt %s20, 20(, %s11) 121