[llvm-commits] PATCH: Add encodings for fxsave64 and fxrstor64
Reid Kleckner
reid.kleckner at gmail.com
Thu Feb 10 08:08:25 PST 2011
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.
Thanks,
Reid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fxsave64.diff
Type: application/octet-stream
Size: 1351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110210/a1efbabf/attachment.obj>
More information about the llvm-commits
mailing list