reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
# RUN: llvm-mc %s -triple=riscv64 -mattr=+d -riscv-no-aliases \
# RUN:     | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc %s -triple=riscv64 -mattr=+d \
# RUN:     | FileCheck -check-prefix=CHECK-ALIAS %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+d < %s \
# RUN:     | llvm-objdump -d -mattr=+d -M no-aliases - \
# RUN:     | FileCheck -check-prefix=CHECK-INST %s
# RUN: llvm-mc -filetype=obj -triple riscv64 -mattr=+d < %s \
# RUN:     | llvm-objdump -d -mattr=+d - \
# RUN:     | FileCheck -check-prefix=CHECK-ALIAS %s

##===----------------------------------------------------------------------===##
## Aliases which omit the rounding mode.
##===----------------------------------------------------------------------===##

# CHECK-INST: fcvt.l.d a0, ft0, dyn
# CHECK-ALIAS: fcvt.l.d a0, ft0{{[[:space:]]}}
fcvt.l.d a0, ft0
# CHECK-INST: fcvt.lu.d a1, ft1, dyn
# CHECK-ALIAS: fcvt.lu.d a1, ft1{{[[:space:]]}}
fcvt.lu.d a1, ft1
# CHECK-INST: fcvt.d.l ft3, a3, dyn
# CHECK-ALIAS: fcvt.d.l ft3, a3{{[[:space:]]}}
fcvt.d.l ft3, a3
# CHECK-INST: fcvt.d.lu ft4, a4, dyn
# CHECK-ALIAS: fcvt.d.lu ft4, a4{{[[:space:]]}}
fcvt.d.lu ft4, a4