[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / RISCV / rv64i-pseudos.s
blob2814776e8ee0980062e26b14355f161514a0accc
1 # RUN: llvm-mc %s -triple=riscv64 | FileCheck %s
3 # CHECK: .Lpcrel_hi0:
4 # CHECK: auipc a2, %pcrel_hi(a_symbol)
5 # CHECK: lwu a2, %pcrel_lo(.Lpcrel_hi0)(a2)
6 lwu a2, a_symbol
8 # CHECK: .Lpcrel_hi1:
9 # CHECK: auipc a3, %pcrel_hi(a_symbol)
10 # CHECK: ld a3, %pcrel_lo(.Lpcrel_hi1)(a3)
11 ld a3, a_symbol
13 # CHECK: .Lpcrel_hi2:
14 # CHECK: auipc a4, %pcrel_hi(a_symbol)
15 # CHECK: sd a3, %pcrel_lo(.Lpcrel_hi2)(a4)
16 sd a3, a_symbol, a4