[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / RISCV / rvzimop-valid.s
blobdeb6d41f0445390e493c1a3b105da0141f602600
1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+zimop -show-encoding \
2 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
3 # RUN: llvm-mc %s -triple=riscv64 -mattr=+zimop -show-encoding \
4 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
5 # RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+zimop < %s \
6 # RUN: | llvm-objdump --mattr=+zimop -d -r - \
7 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
8 # RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+zimop < %s \
9 # RUN: | llvm-objdump --mattr=+zimop -d -r - \
10 # RUN: | FileCheck --check-prefix=CHECK-ASM-AND-OBJ %s
12 # CHECK-ASM-AND-OBJ: mop.r.0 a2, a1
13 # CHECK-ASM: encoding: [0x73,0xc6,0xc5,0x81]
14 mop.r.0 a2, a1
16 # CHECK-ASM-AND-OBJ: mop.r.31 a2, a1
17 # CHECK-ASM: encoding: [0x73,0xc6,0xf5,0xcd]
18 mop.r.31 a2, a1
20 # CHECK-ASM-AND-OBJ: mop.rr.0 a3, a2, a1
21 # CHECK-ASM: encoding: [0xf3,0x46,0xb6,0x82]
22 mop.rr.0 a3, a2, a1
24 # CHECK-ASM-AND-OBJ: mop.rr.7 a3, a2, a1
25 # CHECK-ASM: encoding: [0xf3,0x46,0xb6,0xce]
26 mop.rr.7 a3, a2, a1