From bc0af4aeac8ad0d0c7b77a46af763c2c238cc6fa Mon Sep 17 00:00:00 2001 From: uros Date: Sun, 3 Dec 2006 19:40:06 +0000 Subject: [PATCH] PR target/30041 * config/i386/sse.md ("*sse3_movddup"): Use operands[0] and operands[1] in insn constraint. Correct type attribute to sselog1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119468 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/sse.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eebf3f81cf0..d4f6b6ba725 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-12-03 Uros Bizjak + + PR target/30041 + * config/i386/sse.md ("*sse3_movddup"): Use operands[0] and + operands[1] in insn constraint. Correct type attribute to sselog1. + 2006-12-02 H.J. Lu PR target/30040 diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 460937ffc00..a17e7a9cdbc 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -2167,11 +2167,11 @@ (match_dup 1)) (parallel [(const_int 0) (const_int 2)])))] - "TARGET_SSE3 && !(MEM_P (operands[1]) && MEM_P (operands[2]))" + "TARGET_SSE3 && !(MEM_P (operands[0]) && MEM_P (operands[1]))" "@ movddup\t{%1, %0|%0, %1} #" - [(set_attr "type" "sselog,ssemov") + [(set_attr "type" "sselog1,ssemov") (set_attr "mode" "V2DF")]) (define_split -- 2.11.4.GIT