Following discussion in http://thread.gmane.org/gmane.comp.gcc.patches/336162 , review usage of early clobber in aarch64_lshr_sisd_or_int_≤mode>3, aarch64_ashr_sisd_or_int_≤mode>3, and, maybe, other patterns. Convert them to use (match_scratch) and compare quality of generated code between the two approaches. In theory, (match_scratch) should give more freedom to RA, but this requires double-checking.
Thanks for opening this, I was about to open this myself. I guess this should be done for GCC 6
GCC 6.1 has been released.
GCC 6.3 is being released, adjusting target milestone.
Kugan posted a patch for this, but it was rejected. Kugan, would you please put a link to your patch in the comments and unassign yourself (unless you plan to work on this further). Thanks.
GCC 6.4 is being released, adjusting target milestone.
Fixed in GCC 6: r6-2459-gad7b853a10903e