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: br.l 8199 7# CHECK-ENCODING: encoding: [0x07,0x20,0x00,0x00,0x00,0x00,0x0f,0x18] 8br.l 8199 9 10# CHECK-INST: br.w.t -224 11# CHECK-ENCODING: encoding: [0x20,0xff,0xff,0xff,0x00,0x00,0xbf,0x18] 12br.w.t -224 13 14# CHECK-INST: braf.d.nt 224 15# CHECK-ENCODING: encoding: [0xe0,0x00,0x00,0x00,0x00,0x00,0x60,0x18] 16braf.d.nt 224 17 18# CHECK-INST: brgt.s 23, %s20, 224 19# CHECK-ENCODING: encoding: [0xe0,0x00,0x00,0x00,0x94,0x17,0xc1,0x18] 20brgt.s 23, %s20, 224 21 22# CHECK-INST: brlt.l %s18, 0, -224 23# CHECK-ENCODING: encoding: [0x20,0xff,0xff,0xff,0x00,0x92,0x02,0x18] 24brlt.l %s18, 0, -224 25 26# CHECK-INST: brlt.l.t 23, %s20, -224 27# CHECK-ENCODING: encoding: [0x20,0xff,0xff,0xff,0x94,0x17,0x32,0x18] 28brlt.l.t 23, %s20, -224 29 30# CHECK-INST: brne.w.nt 23, %s20, 8192 31# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x94,0x17,0xa3,0x18] 32brne.w.nt 23, %s20, 8192 33 34# CHECK-INST: breq.d 23, %s20, -224 35# CHECK-ENCODING: encoding: [0x20,0xff,0xff,0xff,0x94,0x17,0x44,0x18] 36breq.d 23, %s20, -224 37 38# CHECK-INST: breq.d %s20, 0, -224 39# CHECK-ENCODING: encoding: [0x20,0xff,0xff,0xff,0x00,0x94,0x44,0x18] 40breq.d %s20, 0, -224 41 42# CHECK-INST: brge.s.t 23, %s20, 8192 43# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x94,0x17,0xf5,0x18] 44brge.s.t 23, %s20, 8192 45 46# CHECK-INST: brle.l.nt 23, %s20, 224 47# CHECK-ENCODING: encoding: [0xe0,0x00,0x00,0x00,0x94,0x17,0x26,0x18] 48brle.l.nt 23, %s20, 224 49 50# CHECK-INST: brnum.d 23, %s20, 8192 51# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x94,0x17,0x47,0x18] 52brnum.d 23, %s20, 8192 53 54# CHECK-INST: brnan.s.t 23, %s20, 8192 55# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x94,0x17,0xf8,0x18] 56brnan.s.t 23, %s20, 8192 57 58# CHECK-INST: brgtnan.d.nt 23, %s20, 8192 59# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x94,0x17,0x69,0x18] 60brgtnan.d.nt 23, %s20, 8192 61 62# CHECK-INST: brltnan.s 23, %s20, 8192 63# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x94,0x17,0xca,0x18] 64brltnan.s 23, %s20, 8192 65 66# CHECK-INST: brnenan.d.t 23, %s20, 8192 67# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x94,0x17,0x7b,0x18] 68brnenan.d.t 23, %s20, 8192 69 70# CHECK-INST: breqnan.s.nt 23, %s20, 8192 71# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x94,0x17,0xec,0x18] 72breqnan.s.nt 23, %s20, 8192 73 74# CHECK-INST: brgenan.d 23, %s20, 8192 75# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x94,0x17,0x4d,0x18] 76brgenan.d 23, %s20, 8192 77 78# CHECK-INST: brlenan.s.t 23, %s20, 8192 79# CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x94,0x17,0xfe,0x18] 80brlenan.s.t 23, %s20, 8192 81