[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / VE / CVTWD.s
blob0eec7c8ec17748fd470e36b5734d5904f9c58fa9
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: cvt.w.d.sx %s11, %s12
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x8c,0x0b,0x4e]
8 cvt.w.d.sx %s11, %s12
10 # CHECK-INST: cvt.w.d.sx.rz %s11, 63
11 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x08,0x3f,0x0b,0x4e]
12 cvt.w.d.sx.rz %s11, 63
14 # CHECK-INST: cvt.w.d.sx.rp %s11, -64
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x09,0x40,0x0b,0x4e]
16 cvt.w.d.sx.rp %s11, -64
18 # CHECK-INST: cvt.w.d.sx.rm %s11, -1
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x0a,0x7f,0x0b,0x4e]
20 cvt.w.d.sx.rm %s11, -1
22 # CHECK-INST: cvt.w.d.sx.rn %s11, 7
23 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x0b,0x07,0x0b,0x4e]
24 cvt.w.d.sx.rn %s11, 7
26 # CHECK-INST: cvt.w.d.sx.ra %s11, %s63
27 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x0c,0xbf,0x0b,0x4e]
28 cvt.w.d.sx.ra %s11, %s63
30 # CHECK-INST: cvt.w.d.zx %s11, %s12
31 # CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x00,0x8c,0x0b,0x4e]
32 cvt.w.d.zx %s11, %s12
34 # CHECK-INST: cvt.w.d.zx.rz %s11, 63
35 # CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x08,0x3f,0x0b,0x4e]
36 cvt.w.d.zx.rz %s11, 63
38 # CHECK-INST: cvt.w.d.zx.rp %s11, -64
39 # CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x09,0x40,0x0b,0x4e]
40 cvt.w.d.zx.rp %s11, -64
42 # CHECK-INST: cvt.w.d.zx.rm %s11, -1
43 # CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x0a,0x7f,0x0b,0x4e]
44 cvt.w.d.zx.rm %s11, -1
46 # CHECK-INST: cvt.w.d.zx.rn %s11, 7
47 # CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x0b,0x07,0x0b,0x4e]
48 cvt.w.d.zx.rn %s11, 7
50 # CHECK-INST: cvt.w.d.zx.ra %s11, %s63
51 # CHECK-ENCODING: encoding: [0x80,0x00,0x00,0x00,0x0c,0xbf,0x0b,0x4e]
52 cvt.w.d.zx.ra %s11, %s63