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