[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git] / llvm / test / MC / RISCV / rv32ih-aliases-valid.s
blob7ae4b6ca291cfcc3bcfd12d0064d8783e56c57b2
1 # RUN: llvm-mc %s -triple=riscv32 -mattr=+h \
2 # RUN: | FileCheck -check-prefixes=CHECK-INST,CHECK-ALIAS-INST %s
3 # RUN: llvm-mc %s -triple=riscv64 -mattr=+h \
4 # RUN: | FileCheck -check-prefixes=CHECK-INST,CHECK-ALIAS-INST %s
5 # RUN: llvm-mc -filetype=obj -mattr=+h -triple riscv32 < %s \
6 # RUN: | llvm-objdump --mattr=+h -M no-aliases -d - \
7 # RUN: | FileCheck -check-prefixes=CHECK-INST,CHECK-NOALIAS-INST %s
8 # RUN: llvm-mc -filetype=obj -mattr=+h -triple riscv64 < %s \
9 # RUN: | llvm-objdump --mattr=+h -M no-aliases -d - \
10 # RUN: | FileCheck -check-prefixes=CHECK-INST,CHECK-NOALIAS-INST %s
12 # CHECK-ALIAS-INST: hfence.gvma{{$}}
13 # CHECK-NOALIAS-INST: hfence.gvma zero, zero
14 hfence.gvma
16 # CHECK-ALIAS-INST: hfence.gvma a0{{$}}
17 # CHECK-NOALIAS-INST: hfence.gvma a0, zero
18 hfence.gvma a0
20 # CHECK-ALIAS-INST: hfence.vvma{{$}}
21 # CHECK-NOALIAS-INST: hfence.vvma zero, zero
22 hfence.vvma
24 # CHECK-ALIAS-INST: hfence.vvma a0{{$}}
25 # CHECK-NOALIAS-INST: hfence.vvma a0, zero
26 hfence.vvma a0
28 # CHECK-INST: hlv.b a0, (a1)
29 hlv.b a0, 0(a1)
31 # CHECK-INST: hlv.bu a0, (a1)
32 hlv.bu a0, 0(a1)
34 # CHECK-INST: hlv.h a1, (a2)
35 hlv.h a1, 0(a2)
37 # CHECK-INST: hlv.hu a1, (a1)
38 hlv.hu a1, 0(a1)
40 # CHECK-INST: hlvx.hu a1, (a2)
41 hlvx.hu a1, 0(a2)
43 # CHECK-INST: hlv.w a2, (a2)
44 hlv.w a2, 0(a2)
46 # CHECK-INST: hlvx.wu a2, (a3)
47 hlvx.wu a2, 0(a3)
49 # CHECK-INST: hsv.b a0, (a1)
50 hsv.b a0, 0(a1)
52 # CHECK-INST: hsv.h a0, (a1)
53 hsv.h a0, 0(a1)
55 # CHECK-INST: hsv.w a0, (a1)
56 hsv.w a0, 0(a1)