2021-05-29 16:11:37 +02:00
|
|
|
# RUN: llvm-mc %s -triple=riscv32 -mattr=+c,+d -riscv-no-aliases \
|
2019-02-21 15:09:34 +01:00
|
|
|
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
|
2021-05-29 16:11:37 +02:00
|
|
|
# RUN: llvm-mc %s -triple=riscv64 -mattr=+c,+d -riscv-no-aliases \
|
2019-02-21 15:09:34 +01:00
|
|
|
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+c,+d < %s \
|
2020-03-16 00:17:52 +01:00
|
|
|
# RUN: | llvm-objdump --mattr=+c,+d -M no-aliases -d - \
|
2019-02-21 15:09:34 +01:00
|
|
|
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+c,+d < %s \
|
2020-03-16 00:17:52 +01:00
|
|
|
# RUN: | llvm-objdump --mattr=+c,+d -M no-aliases -d - \
|
2019-02-21 15:09:34 +01:00
|
|
|
# RUN: | FileCheck -check-prefixes=CHECK-EXPAND %s
|
|
|
|
|
|
|
|
c.fld f8, (x9)
|
|
|
|
# CHECK-EXPAND: c.fsd fs0, 0(s1)
|
|
|
|
c.fsd f8, (x9)
|
|
|
|
# CHECK-EXPAND: c.fldsp fs0, 0(sp)
|
|
|
|
c.fldsp f8, (x2)
|
|
|
|
# CHECK-EXPAND: c.fsdsp fs0, 0(sp)
|
|
|
|
c.fsdsp f8, (x2)
|