Invariant division

2007-01-12 Thread drizzle drizzle
Hi Does gcc do an divison by constant optimization for any 16 bit architecture. Can anyone point me to where it does that ? thanks dz

Re: Invariant division

2007-01-12 Thread Ian Lance Taylor
"drizzle drizzle" <[EMAIL PROTECTED]> writes: > Does gcc do an divison by constant optimization for any 16 bit > architecture. Can anyone point me to where it does that ? expand_divmod in expmed.c. Ian

Re: Invariant division

2007-01-13 Thread Paolo Bonzini
drizzle drizzle wrote: Hi Does gcc do an divison by constant optimization for any 16 bit architecture. Can anyone point me to where it does that ? Yes, in expmed.c (expand_divmod). Paolo