[PATCH]: combine.c SHIFT_COUNT_TRUNCATED adjustment
Jeff Law
law@porcupine.slc.redhat.com
Fri Jun 28 21:34:00 GMT 2002
In message <950C9FB45A23D04BBE6056AFE12938AD13C203@sh-us-ex01.us.w2k.superh.co
m
>The attached patch to combine.c makes shift count truncation
>more effective for targets where the shift count has a different
>mode than the expression being shifted.
>
>Originally described at
>
>http://gcc.gnu.org/ml/gcc/2002-06/msg00379.html
[ ... ]
Thanks. I took the liberty to test this on mn10300-elf which has
shifts where the shift and the count are different modes. It made a
couple minor improvements in the generated code for newlib. No
regressions for mn10300-elf.
I've installed your patch after minor a minor whitespace/formatting
fix.
Thanks,
jeff
More information about the Gcc
mailing list