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): Revert the last
	change.

From-SVN: r85674
This commit is contained in:
H.J. Lu 2004-08-07 17:31:30 +00:00 committed by H.J. Lu
parent 11c4576fa8
commit 0737fbff59
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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