i386.md (lrint<mode>2): Use temporary instead of clobbering non-existent memory.
authorRichard Guenther <rguenther@suse.de>
Tue, 19 Jul 2005 08:01:55 +0000 (08:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 19 Jul 2005 08:01:55 +0000 (08:01 +0000)
2005-07-19  Richard Guenther  <rguenther@suse.de>

* config/i386/i386.md (lrint<mode>2): Use temporary
instead of clobbering non-existent memory.

From-SVN: r102154

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

index 856623ee7d73b441371f7ae2184755b5e1af5468..6bf8c3f17012ad56333923ca8637966a1e87da46 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-19  Richard Guenther  <rguenther@suse.de>
+
+       * config/i386/i386.md (lrint<mode>2): Use temporary
+       instead of clobbering non-existent memory.
+
 2005-07-19  Ben Elliston  <bje@au.ibm.com>
 
        * bt-load.c (link_btr_uses): Fix uninitialised warnings.
index ba35331189ec71016e0d3ac24106f5fe95288de8..c5f9b2a8cd92c2c42d253416d3b3ece3baf017aa 100644 (file)
     emit_insn (gen_fist<mode>2 (operands[0], operands[1]));
   else
     {
-      operands[2] = assign_386_stack_local (<MODE>mode, SLOT_TEMP);
+      rtx op = assign_386_stack_local (<MODE>mode, SLOT_TEMP);
       emit_insn (gen_fist<mode>2_with_temp (operands[0], operands[1],
-                                           operands[2]));
+                                           op));
     }
   DONE;
 })