forked from OSchip/llvm-project
166 lines
3.6 KiB
ArmAsm
166 lines
3.6 KiB
ArmAsm
# RUN: llvm-mc -triple riscv32 -mattr=+f,+d < %s -riscv-arch-reg-names \
|
|
# RUN: | FileCheck -check-prefix=CHECK-NUMERIC %s
|
|
# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=+f,+d < %s \
|
|
# RUN: | llvm-objdump --mattr=+f,+d -d -M numeric - \
|
|
# RUN: | FileCheck -check-prefix=CHECK-NUMERIC %s
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f0
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f0
|
|
fsqrt.d fa0, f0
|
|
fsqrt.d fa0, ft0
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f1
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f1
|
|
fsqrt.d fa0, f1
|
|
fsqrt.d fa0, ft1
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f2
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f2
|
|
fsqrt.d fa0, f2
|
|
fsqrt.d fa0, ft2
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f3
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f3
|
|
fsqrt.d fa0, f3
|
|
fsqrt.d fa0, ft3
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f4
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f4
|
|
fsqrt.d fa0, f4
|
|
fsqrt.d fa0, ft4
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f5
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f5
|
|
fsqrt.d fa0, f5
|
|
fsqrt.d fa0, ft5
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f6
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f6
|
|
fsqrt.d fa0, f6
|
|
fsqrt.d fa0, ft6
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f7
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f7
|
|
fsqrt.d fa0, f7
|
|
fsqrt.d fa0, ft7
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f8
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f8
|
|
fsqrt.d fa0, f8
|
|
fsqrt.d fa0, fs0
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f9
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f9
|
|
fsqrt.d fa0, f9
|
|
fsqrt.d fa0, fs1
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f10
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f10
|
|
fsqrt.d fa0, f10
|
|
fsqrt.d fa0, fa0
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f11
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f11
|
|
fsqrt.d fa0, f11
|
|
fsqrt.d fa0, fa1
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f12
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f12
|
|
fsqrt.d fa0, f12
|
|
fsqrt.d fa0, fa2
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f13
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f13
|
|
fsqrt.d fa0, f13
|
|
fsqrt.d fa0, fa3
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f14
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f14
|
|
fsqrt.d fa0, f14
|
|
fsqrt.d fa0, fa4
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f15
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f15
|
|
fsqrt.d fa0, f15
|
|
fsqrt.d fa0, fa5
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f16
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f16
|
|
fsqrt.d fa0, f16
|
|
fsqrt.d fa0, fa6
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f17
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f17
|
|
fsqrt.d fa0, f17
|
|
fsqrt.d fa0, fa7
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f18
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f18
|
|
fsqrt.d fa0, f18
|
|
fsqrt.d fa0, fs2
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f19
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f19
|
|
fsqrt.d fa0, f19
|
|
fsqrt.d fa0, fs3
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f20
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f20
|
|
fsqrt.d fa0, f20
|
|
fsqrt.d fa0, fs4
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f21
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f21
|
|
fsqrt.d fa0, f21
|
|
fsqrt.d fa0, fs5
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f22
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f22
|
|
fsqrt.d fa0, f22
|
|
fsqrt.d fa0, fs6
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f23
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f23
|
|
fsqrt.d fa0, f23
|
|
fsqrt.d fa0, fs7
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f24
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f24
|
|
fsqrt.d fa0, f24
|
|
fsqrt.d fa0, fs8
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f25
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f25
|
|
fsqrt.d fa0, f25
|
|
fsqrt.d fa0, fs9
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f26
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f26
|
|
fsqrt.d fa0, f26
|
|
fsqrt.d fa0, fs10
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f27
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f27
|
|
fsqrt.d fa0, f27
|
|
fsqrt.d fa0, fs11
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f28
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f28
|
|
fsqrt.d fa0, f28
|
|
fsqrt.d fa0, ft8
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f29
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f29
|
|
fsqrt.d fa0, f29
|
|
fsqrt.d fa0, ft9
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f30
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f30
|
|
fsqrt.d fa0, f30
|
|
fsqrt.d fa0, ft10
|
|
|
|
# CHECK-NUMERIC: fsqrt.d f10, f31
|
|
# CHECK-NUMERIC-NEXT: fsqrt.d f10, f31
|
|
fsqrt.d fa0, f31
|
|
fsqrt.d fa0, ft11
|