[PATCH] Allow encoded 8-bit floating point constants in ARM vmov instructions
David Peixotto
dpeixott at codeaurora.org
Wed Dec 18 10:28:05 PST 2013
On 12/18/2013 10:03 AM, Renato Golin wrote:
> On 18 December 2013 17:44, David Peixotto <dpeixott at codeaurora.org
> <mailto:dpeixott at codeaurora.org>> wrote:
>
> I tried with both gcc (4.6) and armasm (5.03) and neither accept an
> encoded fp constant (e.g. 0x70) as an operand to vmov.f* instructions.
>
>
> Hum, that's odd, I thought you said gcc accepted them...
Both gcc and armasm accept that syntax for the fconstd/fconsts
instructions, but reject it for the vmov.f* functions.
> 1. Support encoded fp constants in vmov.f* functions. This option is
> what my current patch does.
>
>
> I can't see why we couldn't support this, since we already support it
> partially.
I agree.
More information about the llvm-commits
mailing list