]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sse.md (copysign<mode>3): Allocate registers only for operands[5] and operands[6].
authorUros Bizjak <uros@gcc.gnu.org>
Wed, 15 Jul 2009 14:29:39 +0000 (16:29 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 15 Jul 2009 14:29:39 +0000 (16:29 +0200)
* config/i386/sse.md (copysign<mode>3): Allocate registers only for
operands[5] and operands[6].

From-SVN: r149690

gcc/ChangeLog
gcc/config/i386/sse.md

index d68d157212b33a644f414d1efa91cd0aadc14ccc..812c7944a60a600400606acf1b074c57efbb18ab 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-15 Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/sse.md (copysign<mode>3): Allocate registers only for
+       operands[5] and operands[6].
+
 2009-07-15  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/40747
@@ -19,8 +24,7 @@
 2009-07-15  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/40753
-       * alias.c (ao_ref_from_mem): Reject FUNCTION_DECL and LABEL_DECL
-       bases.
+       * alias.c (ao_ref_from_mem): Reject FUNCTION_DECL and LABEL_DECL bases.
 
 2009-07-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
 
@@ -35,9 +39,8 @@
 
 2009-07-14  Ghassan Shobaki  <ghassan.shobaki@amd.com>
        
-       * doc/invoke.texi: Added descriptions of the 
-       scheduling heuristics that are enabled/disabled 
-        by the flags introduced by a previous patch.
+       * doc/invoke.texi: Added descriptions of the  scheduling heuristics
+       that are enabled/disabled by the flags introduced by a previous patch.
        
 2009-07-14  DJ Delorie  <dj@redhat.com>
 
index 8980bf21ac221a759c012d6e7b8078bda5c3b1fd..cde91e4eea12c80c34ef6f39faa63667ddf7c3bf 100644 (file)
        (ior:SSEMODEF2P (match_dup 5) (match_dup 6)))]
   "SSE_VEC_FLOAT_MODE_P (<MODE>mode)"
 {
-  int i;
-
-  for (i = 3; i < 7; i++)
-    operands[i] = gen_reg_rtx (<MODE>mode);
-
   operands[3] = ix86_build_signbit_mask (<ssescalarmode>mode, 1, 1);
   operands[4] = ix86_build_signbit_mask (<ssescalarmode>mode, 1, 0);
+
+  operands[5] = gen_reg_rtx (<MODE>mode);
+  operands[6] = gen_reg_rtx (<MODE>mode);
 })
 
 ;; Also define scalar versions.  These are used for abs, neg, and