[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / RISCV / rv64d-aliases-valid.s
blobfdadee87d4778f722b74142aefa4998191cbdd21
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
12 ##===----------------------------------------------------------------------===##
13 ## Aliases which omit the rounding mode.
14 ##===----------------------------------------------------------------------===##
16 # CHECK-INST: fcvt.l.d a0, ft0, dyn
17 # CHECK-ALIAS: fcvt.l.d a0, ft0{{[[:space:]]}}
18 fcvt.l.d a0, ft0
19 # CHECK-INST: fcvt.lu.d a1, ft1, dyn
20 # CHECK-ALIAS: fcvt.lu.d a1, ft1{{[[:space:]]}}
21 fcvt.lu.d a1, ft1
22 # CHECK-INST: fcvt.d.l ft3, a3, dyn
23 # CHECK-ALIAS: fcvt.d.l ft3, a3{{[[:space:]]}}
24 fcvt.d.l ft3, a3
25 # CHECK-INST: fcvt.d.lu ft4, a4, dyn
26 # CHECK-ALIAS: fcvt.d.lu ft4, a4{{[[:space:]]}}
27 fcvt.d.lu ft4, a4