diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-19 08:01:55 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-19 08:01:55 +0000 |
commit | 9bf217119bd804a84f8bde2298a35d776f36147f (patch) | |
tree | 2842ecbd2f53bbda6b0f48939c003e946070481f | |
parent | 86c1585a0b5021e5010158be36933f5e13bd955e (diff) | |
download | gcc-9bf217119bd804a84f8bde2298a35d776f36147f.tar.gz |
2005-07-19 Richard Guenther <rguenther@suse.de>
* 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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.md | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 856623ee7d7..6bf8c3f1701 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 ba35331189e..c5f9b2a8cd9 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; }) |