diff options
Diffstat (limited to 'llvm/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll')
| -rwxr-xr-x | llvm/test/CodeGen/SPARC/LeonFixFSMULDPassUT.ll | 11 |
1 files changed, 8 insertions, 3 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)
|

