forked from OSchip/llvm-project
[SPARC[ Correcting out-of-date unit tests checked in as part of r273108
llvm-svn: 273110
This commit is contained in:
parent
fe68b0408b
commit
a294541c05
|
@ -1,8 +1,10 @@
|
|||
; RUN: llc %s -O0 -march=sparc -mcpu=ut699 -o - | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: test_fix_fsmuld_1
|
||||
; CHECK: fsmuld %f20, %f21, %f8
|
||||
|
||||
; CHECK: fstod %f20, %f2
|
||||
; CHECK: fstod %f21, %f3
|
||||
; CHECK: fmuld %f2, %f3, %f8
|
||||
; CHECK: fstod %f20, %f0
|
||||
define double @test_fix_fsmuld_1() {
|
||||
entry:
|
||||
%a = alloca float, align 4
|
||||
|
@ -17,7 +19,10 @@ entry:
|
|||
}
|
||||
|
||||
; CHECK-LABEL: test_fix_fsmuld_2
|
||||
; CHECK: fsmuld %f20, %f21, %f8
|
||||
; CHECK: fstod %f20, %f2
|
||||
; CHECK: fstod %f21, %f3
|
||||
; CHECK: fmuld %f2, %f3, %f8
|
||||
; CHECK: fstod %f20, %f0
|
||||
define double @test_fix_fsmuld_2(float* %a, float* %b) {
|
||||
entry:
|
||||
%mul = tail call double asm sideeffect "fsmuld $0, $1, $2", "={f20},{f21},{f8}"(float* %a, float* %b)
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
; RUN: llc %s -O0 -march=sparc -mcpu=ut699 -o - | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: fmuls_fix_test
|
||||
; CHECK: fmuls %f20, %f21, %f8
|
||||
; CHECK: fstod %f20, %f2
|
||||
; CHECK: fstod %f21, %f3
|
||||
; CHECK: fmuld %f2, %f3, %f8
|
||||
; CHECK: fstod %f20, %f0
|
||||
define double @fmuls_fix_test() {
|
||||
entry:
|
||||
%a = alloca float, align 4
|
||||
|
|
Loading…
Reference in New Issue