• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc %s -triple=riscv32 -mattr=+experimental-zfh | FileCheck %s
2# RUN: llvm-mc %s -triple=riscv64 -mattr=+experimental-zfh | FileCheck %s
3
4# CHECK: .Lpcrel_hi0:
5# CHECK: auipc a2, %pcrel_hi(a_symbol)
6# CHECK: flh  fa2, %pcrel_lo(.Lpcrel_hi0)(a2)
7flh fa2, a_symbol, a2
8
9# CHECK: .Lpcrel_hi1:
10# CHECK: auipc a3, %pcrel_hi(a_symbol)
11# CHECK: fsh  fa2, %pcrel_lo(.Lpcrel_hi1)(a3)
12fsh fa2, a_symbol, a3
13