[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / RISCV / rv64f-aliases-valid.s
blob6076a19b241971b4a0bf3b022f66a2e0b57d0ca4
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 -M 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:]]}}
18 fcvt.l.s a0, ft0
19 # CHECK-INST: fcvt.lu.s a1, ft1, dyn
20 # CHECK-ALIAS: fcvt.lu.s a1, ft1{{[[:space:]]}}
21 fcvt.lu.s a1, ft1
22 # CHECK-INST: fcvt.s.l ft2, a2, dyn
23 # CHECK-ALIAS: fcvt.s.l ft2, a2{{[[:space:]]}}
24 fcvt.s.l ft2, a2
25 # CHECK-INST: fcvt.s.lu ft3, a3, dyn
26 # CHECK-ALIAS: fcvt.s.lu ft3, a3{{[[:space:]]}}
27 fcvt.s.lu ft3, a3