This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Invalid constraints on SPARC f?tox and fxto?


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
        


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]