[PATCH] D70101: [X86] Fix the implementation of __readcr3/__writecr3 to work in 64-bit mode

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 11 17:31:57 PST 2019


craig.topper added a comment.

So in order to match the long and int behavior, I need two different macros to replace the argument? I think __INTPTR_TYPE__ will return int on 32-bit targets so I can't use that for the long case. But maybe for the __int64?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70101/new/

https://reviews.llvm.org/D70101





More information about the cfe-commits mailing list