Re: [AArch64] Improve description of CM instructions in RTL

2013-04-30 Thread Marcus Shawcroft
OK /Marcus On 30 April 2013 15:55, James Greenhalgh wrote: > > Comparison operators can be described in RTL in a more accurate > manner than simply using UNSPECs. Do this. > > We need the split cases for DI mode to give reload a sensible > alternative. Without these, reload would churn out some t

[AArch64] Improve description of CM instructions in RTL

2013-04-30 Thread James Greenhalgh
Comparison operators can be described in RTL in a more accurate manner than simply using UNSPECs. Do this. We need the split cases for DI mode to give reload a sensible alternative. Without these, reload would churn out some truly ugly code along the lines of: > fmov d0, x0 > cmp d0, d0, #0 > fm