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