Re: [PATCH, AArch64] Fix for LDR/STR to/from S and D registers

2013-05-01 Thread Marcus Shawcroft
On 1 May 2013, at 19:41, "Ian Bolton" wrote: > This is a fix for this patch: > http://gcc.gnu.org/ml/gcc-patches/2013-04/msg01621.html > > If someone compiles with -mgeneral-regs-only then those instructions > shouldn't be used. We can enforce that by adding the fp attribute to > the relevant a

[PATCH, AArch64] Fix for LDR/STR to/from S and D registers

2013-05-01 Thread Ian Bolton
This is a fix for this patch: http://gcc.gnu.org/ml/gcc-patches/2013-04/msg01621.html If someone compiles with -mgeneral-regs-only then those instructions shouldn't be used. We can enforce that by adding the fp attribute to the relevant alternatives in the patterns. Regression tests all good. OK