Re: [PATCH 08/17] big-shift: do not simplify over-sized OP_ASR to zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 21/07/18 15:33, Luc Van Oostenryck wrote:
> Currently, arithmetic right shifts with a shift count bigger
> than the operand size are simplified to zero.
> 
> While this makes a lot of sense for LSR and SHL, for ASR it's
> much less so.
> 
> Remove the simplification and let the back-end generate the code
> for a non-immediate count (which is what GCC do).
> 
> Note: Some other options would be:
> - reduce the shift count module the operand size, like it was

s/module/modulo/

ATB,
Ramsay Jones
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux