This is the mail archive of the gcc-patches@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][ARM] Adjust arith_shiftsi for ARMv8-style


On 15/05/14 09:47, Kyrill Tkachov wrote:
> Hi all,
> 
> Shifted arithmetic operations can never be encoded in 16-bits in and therefore 
> can not appear in Thumb2 IT blocks under ARMv8-A rules (and the -mrestrict-it 
> rules). This patch adjusts the relevant pattern for that purpose.
> 
> Tested and bootstrapped on arm-none-linux-gnueabihf and made sure no performance 
> regressions on a number of benchmarks.
> 
> This is a bug (not wrong-code though) in -mrestrict-it that affects 4.9 as well 
> as trunk, so is it ok to backport it there?
> 
> 
> Thanks,
> Kyrill
> 
> 2014-05-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
> 
>      * config/arm/arm.md (arith_shiftsi): Do not predicate for
>      arm_restrict_it.
> 

OK both.

R.




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