Re: [PATCH][ARM] Avoid partial overlaps in DImode shifts

2016-10-25 Thread Richard Earnshaw (lists)
On 24/10/16 15:28, Wilco Dijkstra wrote: > With -fpu=neon DI mode shifts are expanded after reload. DI mode registers > can > either fully or partially overlap. However the shift expansion code can only > deal > with the full overlap case, and generates incorrect code for partial overlaps. >

[PATCH][ARM] Avoid partial overlaps in DImode shifts

2016-10-24 Thread Wilco Dijkstra
With -fpu=neon DI mode shifts are expanded after reload. DI mode registers can either fully or partially overlap. However the shift expansion code can only deal with the full overlap case, and generates incorrect code for partial overlaps. The fix is to add new variants that support either