Re: [AArch64] Allow stack pointer as first input to a subtraction

2015-01-13 Thread Marcus Shawcroft
On 13 January 2015 at 10:47, Richard Sandiford wrote: > Several sub-based patterns allowed the stack pointer to be the destination > but not the first source. This looked like an oversight; in all the patterns > changed here (but not for example in *sub_mul_imm_), the instruction > allows the sta

[AArch64] Allow stack pointer as first input to a subtraction

2015-01-13 Thread Richard Sandiford
Several sub-based patterns allowed the stack pointer to be the destination but not the first source. This looked like an oversight; in all the patterns changed here (but not for example in *sub_mul_imm_), the instruction allows the stack pointer to appear in both positions. Tested on aarch64-linu