More i386 string ops changes
Richard Henderson
rth@cygnus.com
Fri Jan 14 12:58:00 GMT 2000
On Thu, Jan 13, 2000 at 02:09:36PM +0100, Jan Hubicka wrote:
> * i386.md (memstr): Use do not use rep stosb for counts divisible by 4
> when optimize_size.
"Use do not use" ?
> ! /* Use formula that gives nonzero result ifif one of the bytes is zero.
> ! This saves three branches inside loop and many cycles. */
"This formula yields a non-zero result iff"
> ! emit_insn (gen_cmpsi_1 (countreg, countreg));
Are you quite sure this won't get optimized away on you?
r~
More information about the Gcc-patches
mailing list