This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: combine.c SHIFT_COUNT_TRUNCATED adjustment
- From: Jeff Law <law at porcupine dot slc dot redhat dot com>
- To: "Clarke, Stephen" <stephen dot clarke at superh dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 28 Jun 2002 15:29:48 -0600
- Subject: Re: [PATCH]: combine.c SHIFT_COUNT_TRUNCATED adjustment
- Reply-to: law at redhat dot com
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