From 7e3c9723a128add3a54e2a4f76f46eb66c277323 Mon Sep 17 00:00:00 2001 From: uros Date: Thu, 27 Oct 2011 19:07:27 +0000 Subject: PR target/50875 * config/i386/sse.md (*avx2_unpcklpd256): Remove extra insn constraints. Change alternative 1 to "x,m,1". testsuitee/ChangeLog: PR target/50875 * gfortran.dg/pr50875.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180576 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/i386/sse.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'gcc/config') diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 740f8c856ed..c4366ba4ba0 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -4231,15 +4231,14 @@ [(set (match_operand:V4DF 0 "register_operand" "=x,x") (vec_select:V4DF (vec_concat:V8DF - (match_operand:V4DF 1 "nonimmediate_operand" "xm,x") - (match_operand:V4DF 2 "nonimmediate_operand" " 1,xm")) + (match_operand:V4DF 1 "nonimmediate_operand" " x,m") + (match_operand:V4DF 2 "nonimmediate_operand" "xm,1")) (parallel [(const_int 0) (const_int 4) (const_int 2) (const_int 6)])))] - "TARGET_AVX - && (!MEM_P (operands[1]) || rtx_equal_p (operands[1], operands[2]))" + "TARGET_AVX" "@ - vmovddup\t{%1, %0|%0, %1} - vunpcklpd\t{%2, %1, %0|%0, %1, %2}" + vunpcklpd\t{%2, %1, %0|%0, %1, %2} + vmovddup\t{%1, %0|%0, %1}" [(set_attr "type" "sselog") (set_attr "prefix" "vex") (set_attr "mode" "V4DF")]) -- cgit v1.2.1