[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / VE / SCR.s
blobe5ebaf79fa601f3a740a93a8597d11d400d4685f
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: scr %s11, %s20, %s22
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x96,0x94,0x0b,0x50]
8 scr %s11, %s20, %s22
10 # CHECK-INST: scr %s11, %s20, 0
11 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x94,0x0b,0x50]
12 scr %s11, %s20, 0
14 # CHECK-INST: scr %s11, 22, %s15
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x8f,0x16,0x0b,0x50]
16 scr %s11, 22, %s15
18 # CHECK-INST: scr %s11, 22, 0
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x00,0x00,0x00,0x16,0x0b,0x50]
20 scr %s11, 22, 0