1 # RUN: llvm-mc %s -triple=riscv64 -mattr=+f -riscv-no-aliases \
2 # RUN: | FileCheck -check-prefix=CHECK-INST %s
3 # RUN: llvm-mc %s -triple=riscv64 -mattr=+f \
4 # RUN: | FileCheck -check-prefix=CHECK-ALIAS %s
5 # RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+f < %s \
6 # RUN: | llvm-objdump -d -mattr=+f -riscv-no-aliases - \
7 # RUN: | FileCheck -check-prefix=CHECK-INST %s
8 # RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+f < %s \
9 # RUN: | llvm-objdump -d -mattr=+f - \
10 # RUN: | FileCheck -check-prefix=CHECK-ALIAS %s
12 ##===----------------------------------------------------------------------===##
13 ## Aliases which omit the rounding mode.
14 ##===----------------------------------------------------------------------===##
16 # CHECK-INST: fcvt.l.s a0, ft0, dyn
17 # CHECK-ALIAS: fcvt.l.s a0, ft0{{[[:space:]]}}
19 # CHECK-INST: fcvt.lu.s a1, ft1, dyn
20 # CHECK-ALIAS: fcvt.lu.s a1, ft1{{[[:space:]]}}
22 # CHECK-INST: fcvt.s.l ft2, a2, dyn
23 # CHECK-ALIAS: fcvt.s.l ft2, a2{{[[:space:]]}}
25 # CHECK-INST: fcvt.s.lu ft3, a3, dyn
26 # CHECK-ALIAS: fcvt.s.lu ft3, a3{{[[:space:]]}}