[Bug optimization/12849] testing divisibility by constant
user42 at zip dot com dot au
gcc-bugzilla@gcc.gnu.org
Fri Oct 31 22:01:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12849
------- Additional Comments From user42 at zip dot com dot au 2003-10-31 22:00 -------
Subject: Re: testing divisibility by constant
I wrote:
>
> if (n % 3 == 0)
Actually, the asm code I included was for a divisor of 171717. Small
values get strength reduction on the multiplies, obscuring what gets
done.
More information about the Gcc-bugs
mailing list