[PATCH] Invalid constraints on SPARC f?tox and fxto?
Nick Clifton
nickc@redhat.com
Fri Jan 23 12:05:00 GMT 2004
Hi Andrew,
> I've recently been looking into gcc bug 10904, which involves gcc
> generating instructions such as:
>
> fdtox %f8,%f7
>
> on SPARC64 [1].
>
> Sun's assembler chokes on this construct, while gas silently accepts it
> (and according to Sun's disassembler, the %f7 is encoded as %f38). One
> consequence of this is that when using gas with gcc on sparc64, the
> (broken) assembly is silently misassembled.
>
> I've attached a patch against binutils 2.14 which I believe tightens up
> these constraints.
Thanks very much for submitting this patch, and I am sorry that it
took me so long to reply to your email. I have approved and applied
your patch to the mainline binutils sources so that it will appear in
the next binutils release.
Cheers
Nick
More information about the Binutils
mailing list