Re: [PATCH 07/12] x86-64: Simplify constraints for fxsave/fxtstor

From: Brian Gerst
Date: Thu Sep 09 2010 - 19:43:28 EST


On Thu, Sep 9, 2010 at 5:22 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 09/03/2010 06:17 PM, Brian Gerst wrote:
>> Use the "R" constraint (legacy register) instead of listing all the
>> possible registers. ÂClean up the comments as well.
>>
>> Signed-off-by: Brian Gerst <brgerst@xxxxxxxxx>
>
> Hi Brian,
>
> Have you tested this on *old* versions of gcc? ÂSince the whole point of
> that butt-ugly code sequence is to support now-historic versions of
> binutils, we need to make sure that "R" was supposed on the
> corresponding gcc versions...

It's documented as far back as the GCC 3.1.1 manual. Whether it
actually works or not on older compilers I have no way of testing.

--
Brian Gerst
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/