From: H.J. Lu Date: Sat, 7 Aug 2004 17:31:30 +0000 (+0000) Subject: i386.c (ix86_expand_clrmem): Revert the last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0737fbff594ae45dc2e37dc2eff51601cdb99e1b;p=gcc.git i386.c (ix86_expand_clrmem): Revert the last change. 2004-08-07 H.J. Lu * config/i386/i386.c (ix86_expand_clrmem): Revert the last change. From-SVN: r85674 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 11aaa96d4db..21ca11bcd68 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-08-07 H.J. Lu + + * config/i386/i386.c (ix86_expand_clrmem): Revert the last + change. + 2004-08-07 H.J. Lu * config/i386/i386.c (ix86_expand_clrmem): Properly call 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