aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2005-07-19 08:01:55 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2005-07-19 08:01:55 +0000
commit98ea74375f446196ce2ff7a3d5f7f9587b3ced52 (patch)
tree2842ecbd2f53bbda6b0f48939c003e946070481f
parentdfea6c85d86d561ce13b3e0278afab4106547ba8 (diff)
downloadgcc-98ea74375f446196ce2ff7a3d5f7f9587b3ced52.zip
gcc-98ea74375f446196ce2ff7a3d5f7f9587b3ced52.tar.gz
gcc-98ea74375f446196ce2ff7a3d5f7f9587b3ced52.tar.bz2
i386.md (lrint<mode>2): Use temporary instead of clobbering non-existent memory.
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 856623e..6bf8c3f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index ba35331..c5f9b2a 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -16570,9 +16570,9 @@
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;
})