[llvm-commits] PATCH: Add encodings for fxsave64 and fxrstor64

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Sat Feb 12 12:44:00 PST 2011


Hi Reid,

On Thu, Feb 10, 2011 at 2:08 PM, Reid Kleckner <reid.kleckner at gmail.com> wrote:
> These instructions are just fxsave and fxrstor with REX_W prefixes.
> The difference is that some pointers in dumped register map come out
> as 64-bit values instead of 32-bit values.  If you don't use the
> prefix in 64-bit mode, you'll get 32-bit values instead of 64-bit.
>
> I needed this patch to build DynamoRIO with clang with the integrated
> assembler.  It has some inline assembly with these instructions for
> context switching on signals.
>
> Please review.  I can commit the patch.

Please commit! :)

-- 
Bruno Cardoso Lopes
http://www.brunocardoso.cc




More information about the llvm-commits mailing list