OSDN Git Service

2005-07-19 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Jul 2005 08:01:55 +0000 (08:01 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Jul 2005 08:01:55 +0000 (08:01 +0000)
* config/i386/i386.md (lrint<mode>2): Use temporary
instead of clobbering non-existent memory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102154 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 856623e..6bf8c3f 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 ba35331..c5f9b2a 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;
 })