This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: combine.c SHIFT_COUNT_TRUNCATED adjustment


 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

 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]