Re: [PATCH, AArch64] Implement HARD_REGNO_CALLER_SAVE_MODE

2014-05-13 Thread Richard Earnshaw
On 12/05/14 17:30, Ian Bolton wrote: > Currently, on AArch64, when a caller-save register is saved/restored, > GCC is accessing the maximum size of the hard register. > > So an SImode integer (4 bytes) value is being stored as DImode (8 bytes) > because the int registers are 8 bytes wide, and an S

[PATCH, AArch64] Implement HARD_REGNO_CALLER_SAVE_MODE

2014-05-12 Thread Ian Bolton
Currently, on AArch64, when a caller-save register is saved/restored, GCC is accessing the maximum size of the hard register. So an SImode integer (4 bytes) value is being stored as DImode (8 bytes) because the int registers are 8 bytes wide, and an SFmode float (4 bytes) and DFmode double (8 byte