llvm-project/llvm/test/MC/RISCV/rv32fc-aliases-valid.s

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
503 B
ArmAsm
Raw Normal View History

# RUN: llvm-mc %s -triple=riscv32 -mattr=+c,+f -riscv-no-aliases \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c,+f < %s \
# RUN: | llvm-objdump -mattr=+c,+f -M no-aliases -d - \
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
# CHECK-EXPAND: c.flw fs0, 0(s1)
c.flw f8, (x9)
# CHECK-EXPAND: c.fsw fs0, 0(s1)
c.fsw f8, (x9)
# CHECK-EXPAND: c.flwsp fs0, 0(sp)
c.flwsp f8, (x2)
# CHECK-EXPAND: c.fswsp fs0, 0(sp)
c.fswsp f8, (x2)