[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / VE / VSC.s
blob69120d7bc1ce1ce02bda50a190d517ca50daa461
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: vsc %v11, %v13, 23, %s12
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x0d,0x0b,0x8c,0x17,0x40,0xb1]
8 vsc %v11, %v13, 23, %s12
10 # CHECK-INST: vsc.nc %vix, %s12, 63, 0
11 # CHECK-ENCODING: encoding: [0x0c,0x00,0x00,0xff,0x00,0x3f,0x20,0xb1]
12 vsc.nc %vix, %s12, 63, 0
14 # CHECK-INST: vsc.ot %v63, %vix, -64, %s63
15 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x3f,0xbf,0x40,0xc0,0xb1]
16 vsc.ot %v63, %vix, -64, %s63
18 # CHECK-INST: vsc.nc.ot %v12, %v63, %s12, 0, %vm3
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x3f,0x0c,0x00,0x8c,0x83,0xb1]
20 vsc.nc.ot %v12, %v63, %s12, 0, %vm3
22 # CHECK-INST: vscu %v11, %v13, 23, %s12
23 # CHECK-ENCODING: encoding: [0x00,0x00,0x0d,0x0b,0x8c,0x17,0x40,0xb2]
24 vscu %v11, %v13, 23, %s12
26 # CHECK-INST: vscu.nc %vix, %s12, 63, 0
27 # CHECK-ENCODING: encoding: [0x0c,0x00,0x00,0xff,0x00,0x3f,0x20,0xb2]
28 vscu.nc %vix, %s12, 63, 0
30 # CHECK-INST: vscu.ot %v63, %vix, -64, %s63
31 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x3f,0xbf,0x40,0xc0,0xb2]
32 vscu.ot %v63, %vix, -64, %s63
34 # CHECK-INST: vscu.nc.ot %v12, %v63, %s12, 0, %vm3
35 # CHECK-ENCODING: encoding: [0x00,0x00,0x3f,0x0c,0x00,0x8c,0x83,0xb2]
36 vscu.nc.ot %v12, %v63, %s12, 0, %vm3
38 # CHECK-INST: vscl %v11, %v13, 23, %s12
39 # CHECK-ENCODING: encoding: [0x00,0x00,0x0d,0x0b,0x8c,0x17,0x40,0xb3]
40 vscl %v11, %v13, 23, %s12
42 # CHECK-INST: vscl.ot %vix, %s12, 63, 0
43 # CHECK-ENCODING: encoding: [0x0c,0x00,0x00,0xff,0x00,0x3f,0xe0,0xb3]
44 vscl.ot %vix, %s12, 63, 0
46 # CHECK-INST: vscl.nc %v63, %vix, -64, %s63
47 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x3f,0xbf,0x40,0x00,0xb3]
48 vscl.nc %v63, %vix, -64, %s63
50 # CHECK-INST: vscl.nc.ot %v12, %v63, %s12, 0, %vm3
51 # CHECK-ENCODING: encoding: [0x00,0x00,0x3f,0x0c,0x00,0x8c,0x83,0xb3]
52 vscl.nc.ot %v12, %v63, %s12, 0, %vm3