summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fma3-intrinsics.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-06-03 01:40:43 +0000
committerCraig Topper <craig.topper@gmail.com>2012-06-03 01:40:43 +0000
commit57ae246a6a5a2bce6997cdf1d1e41b568109a469 (patch)
treef1a4653525f9150821c6a39782436e20e3622c39 /test/CodeGen/X86/fma3-intrinsics.ll
parent60dda3800861d31bf67130a16f1d62105254851a (diff)
downloadllvm-57ae246a6a5a2bce6997cdf1d1e41b568109a469.tar.gz
llvm-57ae246a6a5a2bce6997cdf1d1e41b568109a469.tar.bz2
llvm-57ae246a6a5a2bce6997cdf1d1e41b568109a469.tar.xz
Use sse_load_f32/64 for scalar FMA3 intrinsic patterns instead of 128-bit loads to match instruction behavior.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fma3-intrinsics.ll')
-rwxr-xr-xtest/CodeGen/X86/fma3-intrinsics.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fma3-intrinsics.ll b/test/CodeGen/X86/fma3-intrinsics.ll
index 183d1882b9..86426ea602 100755
--- a/test/CodeGen/X86/fma3-intrinsics.ll
+++ b/test/CodeGen/X86/fma3-intrinsics.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -mtriple=x86_64-pc-win32 -mcpu=core-avx2 -mattr=avx2,+fma3 | FileCheck %s
define <4 x float> @test_x86_fmadd_ss(<4 x float> %a0, <4 x float> %a1, <4 x float> %a2) {
- ; CHECK: fmadd132ss {{.*\(%r.*}}, %xmm
+ ; CHECK: fmadd132ss %xmm
%res = call <4 x float> @llvm.x86.fma4.vfmadd.ss(<4 x float> %a0, <4 x float> %a1, <4 x float> %a2) nounwind
ret <4 x float> %res
}
@@ -22,7 +22,7 @@ define <8 x float> @test_x86_fmadd_ps_y(<8 x float> %a0, <8 x float> %a1, <8 x f
declare <8 x float> @llvm.x86.fma4.vfmadd.ps.256(<8 x float>, <8 x float>, <8 x float>) nounwind readnone
define <4 x float> @test_x86_fnmadd_ss(<4 x float> %a0, <4 x float> %a1, <4 x float> %a2) {
- ; CHECK: fnmadd132ss {{.*\(%r.*}}, %xmm
+ ; CHECK: fnmadd132ss %xmm
%res = call <4 x float> @llvm.x86.fma4.vfnmadd.ss(<4 x float> %a0, <4 x float> %a1, <4 x float> %a2) nounwind
ret <4 x float> %res
}