Commit 0737fbff by H.J. Lu Committed by H.J. Lu

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
parent 11c4576f
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment