[lldb] Fix warning: 'sprintf' is deprecated in RNBSocketTest
[llvm-project.git] / llvm / test / MC / VE / BC.s
blob68914b5b5124ed2139fefc1a9efcc8256d8a94a5
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
6 # CHECK-INST: b.l 8199
7 # CHECK-ENCODING: encoding: [0x07,0x20,0x00,0x00,0x00,0x00,0x0f,0x19]
8 b.l 8199
10 # CHECK-INST: b.l.t 20(, %s11)
11 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x00,0x3f,0x19]
12 b.l.t 20(, %s11)
14 # CHECK-INST: baf.l.nt -1(, %s11)
15 # CHECK-ENCODING: encoding: [0xff,0xff,0xff,0xff,0x8b,0x00,0x20,0x19]
16 baf.l.nt -1(, %s11)
18 # CHECK-INST: b.w.t 20(, %s11)
19 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x00,0x3f,0x1b]
20 b.w.t 20(, %s11)
22 # CHECK-INST: baf.d.nt -1(, %s11)
23 # CHECK-ENCODING: encoding: [0xff,0xff,0xff,0xff,0x8b,0x00,0x20,0x1c]
24 baf.d.nt -1(, %s11)
26 # CHECK-INST: b.s.t 20(, %s11)
27 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x00,0xbf,0x1c]
28 b.s.t 20(,%s11)
30 # CHECK-INST: bgt.d %s20, 20(, %s11)
31 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x01,0x1c]
32 bgt.d %s20, 20(, %s11)
34 # CHECK-INST: bgt.l.t %s20, 8192
35 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0x31,0x19]
36 bgt.l.t %s20, 8192
38 # CHECK-INST: bgt.d.nt %s20, 20(, %s11)
39 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x21,0x1c]
40 bgt.d.nt %s20, 20(, %s11)
42 # CHECK-INST: blt.w.t %s20, 8192
43 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0x32,0x1b]
44 blt.w.t %s20, 8192
46 # CHECK-INST: blt.s.nt %s20, (, %s11)
47 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x94,0xa2,0x1c]
48 blt.s.nt %s20, (, %s11)
50 # CHECK-INST: bne.l.t %s20, 8192
51 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0x33,0x19]
52 bne.l.t %s20, 8192
54 # CHECK-INST: bne.d.nt %s20, 20(, %s11)
55 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x23,0x1c]
56 bne.d.nt %s20, 20(, %s11)
58 # CHECK-INST: beq.w.t %s20, 8192
59 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0x34,0x1b]
60 beq.w.t %s20, 8192
62 # CHECK-INST: beq.s.nt %s20, (, %s11)
63 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x94,0xa4,0x1c]
64 beq.s.nt %s20, (,%s11)
66 # CHECK-INST: bge.l.t 63, 8192
67 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x3f,0x35,0x19]
68 bge.l.t 63, 8192
70 # CHECK-INST: bge.d.nt -64, 20(, %s11)
71 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x40,0x25,0x1c]
72 bge.d.nt -64, 20(, %s11)
74 # CHECK-INST: ble.w.t %s20, 8192
75 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0x36,0x1b]
76 ble.w.t %s20, 8192
78 # CHECK-INST: ble.s.nt %s20, (, %s11)
79 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8b,0x94,0xa6,0x1c]
80 ble.s.nt %s20, (,%s11)
82 # CHECK-INST: bnum.s.t %s20, 8192
83 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0xb7,0x1c]
84 bnum.s.t %s20, 8192
86 # CHECK-INST: bnum.d.nt %s20, 20(, %s11)
87 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x27,0x1c]
88 bnum.d.nt %s20, 20(, %s11)
90 # CHECK-INST: bnan.s.t %s20, 8192
91 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0xb8,0x1c]
92 bnan.s.t %s20, 8192
94 # CHECK-INST: bnan.d.nt %s20, 20(, %s11)
95 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x28,0x1c]
96 bnan.d.nt %s20, 20(, %s11)
98 # CHECK-INST: bgtnan.s.t %s20, 8192
99 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0xb9,0x1c]
100 bgtnan.s.t %s20, 8192
102 # CHECK-INST: bltnan.d.nt %s20, 20(, %s11)
103 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x2a,0x1c]
104 bltnan.d.nt %s20, 20(, %s11)
106 # CHECK-INST: bnenan.s.t %s20, 8192
107 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0xbb,0x1c]
108 bnenan.s.t %s20, 8192
110 # CHECK-INST: beqnan.d.nt %s20, 20(, %s11)
111 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x2c,0x1c]
112 beqnan.d.nt %s20, 20(, %s11)
114 # CHECK-INST: bgenan.s.t %s20, 8192
115 # CHECK-ENCODING: encoding: [0x00,0x20,0x00,0x00,0x00,0x94,0xbd,0x1c]
116 bgenan.s.t %s20, 8192
118 # CHECK-INST: blenan.d.nt %s20, 20(, %s11)
119 # CHECK-ENCODING: encoding: [0x14,0x00,0x00,0x00,0x8b,0x94,0x2e,0x1c]
120 blenan.d.nt %s20, 20(, %s11)