summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-07 17:31:30 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-07 17:31:30 +0000
commit8223629e6c6c40e59d68e94e9fc2b7eca7848dd5 (patch)
tree0f9b6f313c7a1da922fe8e6ec94b08b9d51d8b79 /gcc
parentd6a7d5f6c83b124774eb22d84a47cd17bfd4e29c (diff)
downloadgcc-8223629e6c6c40e59d68e94e9fc2b7eca7848dd5.tar.gz
2004-08-07 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_expand_clrmem): Revert the last change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85674 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 11aaa96d4db..21ca11bcd68 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-08-07 H.J. Lu <hongjiu.lu@intel.com>
+ * config/i386/i386.c (ix86_expand_clrmem): Revert the last
+ change.
+
+2004-08-07 H.J. Lu <hongjiu.lu@intel.com>
+
* config/i386/i386.c (ix86_expand_clrmem): Properly call
gen_strset for 64bit target.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index e1e2027b2e3..951573415da 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -11569,10 +11569,7 @@ ix86_expand_clrmem (rtx dst, rtx count_exp, rtx align_exp)
rtx mem = adjust_automodify_address_nv (dst,
GET_MODE (zeroreg),
destreg, offset);
- emit_insn (gen_strset (destreg, mem,
- (TARGET_64BIT
- ? gen_rtx_SUBREG (SImode, zeroreg, 0)
- : zeroreg)));
+ emit_insn (gen_strset (destreg, mem, zeroreg));
offset += size;
}
else