diff options
| author | Chris Dewhurst <chris.dewhurst@lero.ie> | 2016-06-19 12:52:39 +0000 |
|---|---|---|
| committer | Chris Dewhurst <chris.dewhurst@lero.ie> | 2016-06-19 12:52:39 +0000 |
| commit | a294541c050208a3eda9e89a391c8f6397db8a70 (patch) | |
| tree | ad194fe06227e8ad21f3c7f934b2562eb8a97345 /llvm/test/CodeGen/SPARC | |
| parent | fe68b0408b6855c8c88a1d594c7154dd30461911 (diff) | |
| download | bcm5719-llvm-a294541c050208a3eda9e89a391c8f6397db8a70.tar.gz bcm5719-llvm-a294541c050208a3eda9e89a391c8f6397db8a70.zip | |
[SPARC[ Correcting out-of-date unit tests checked in as part of r273108
llvm-svn: 273110
Diffstat (limited to 'llvm/test/CodeGen/SPARC')
| -rwxr-xr-x | llvm/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll | 11 | ||||
| -rwxr-xr-x | llvm/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll | 5 |
2 files changed, 12 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll b/llvm/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll index d15e7902cb8..e2f2323a049 100755 --- a/llvm/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll +++ b/llvm/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll @@ -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)
diff --git a/llvm/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll b/llvm/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll index 76c2daa6a4e..7d0950cb1c8 100755 --- a/llvm/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll +++ b/llvm/test/CodeGen/SPARC/LeonReplaceFMULSPassUT.ll @@ -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
|

