summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-09-20 14:11:35 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-09-20 14:11:35 +0000
commit6aaf0561aee34a44c5ac1e48cef94e9458e0dab6 (patch)
tree86dbaa82f8783ab669e75dbdedbd16947610abb5 /test/CodeGen
parent3699261d3f49d65cee6a645c849c41cdca51a01f (diff)
downloadllvm-6aaf0561aee34a44c5ac1e48cef94e9458e0dab6.tar.gz
llvm-6aaf0561aee34a44c5ac1e48cef94e9458e0dab6.tar.bz2
llvm-6aaf0561aee34a44c5ac1e48cef94e9458e0dab6.tar.xz
test/CodeGen/X86/avx-minmax.ll: Unbreak Win32.
On Windows x64, 128-bit arguments are not passed by reg but by indirect. eg. maxpd: vmovapd (%rcx), %xmm0 vmaxpd (%rdx), %xmm0, %xmm0 FIXME: I don't care YMM on x64 for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/avx-minmax.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/avx-minmax.ll b/test/CodeGen/X86/avx-minmax.ll
index 6503c76708..f36ba7b62a 100644
--- a/test/CodeGen/X86/avx-minmax.ll
+++ b/test/CodeGen/X86/avx-minmax.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -march=x86-64 -mattr=+avx -asm-verbose=false -join-physregs -enable-unsafe-fp-math -enable-no-nans-fp-math -promote-elements | FileCheck -check-prefix=UNSAFE %s
; UNSAFE: maxpd:
-; UNSAFE: vmaxpd %xmm
+; UNSAFE: vmaxpd {{.+}}, %xmm
define <2 x double> @maxpd(<2 x double> %x, <2 x double> %y) {
%max_is_x = fcmp oge <2 x double> %x, %y
%max = select <2 x i1> %max_is_x, <2 x double> %x, <2 x double> %y
@@ -9,7 +9,7 @@ define <2 x double> @maxpd(<2 x double> %x, <2 x double> %y) {
}
; UNSAFE: minpd:
-; UNSAFE: vminpd %xmm
+; UNSAFE: vminpd {{.+}}, %xmm
define <2 x double> @minpd(<2 x double> %x, <2 x double> %y) {
%min_is_x = fcmp ole <2 x double> %x, %y
%min = select <2 x i1> %min_is_x, <2 x double> %x, <2 x double> %y
@@ -17,7 +17,7 @@ define <2 x double> @minpd(<2 x double> %x, <2 x double> %y) {
}
; UNSAFE: maxps:
-; UNSAFE: vmaxps %xmm
+; UNSAFE: vmaxps {{.+}}, %xmm
define <4 x float> @maxps(<4 x float> %x, <4 x float> %y) {
%max_is_x = fcmp oge <4 x float> %x, %y
%max = select <4 x i1> %max_is_x, <4 x float> %x, <4 x float> %y
@@ -25,7 +25,7 @@ define <4 x float> @maxps(<4 x float> %x, <4 x float> %y) {
}
; UNSAFE: minps:
-; UNSAFE: vminps %xmm
+; UNSAFE: vminps {{.+}}, %xmm
define <4 x float> @minps(<4 x float> %x, <4 x float> %y) {
%min_is_x = fcmp ole <4 x float> %x, %y
%min = select <4 x i1> %min_is_x, <4 x float> %x, <4 x float> %y