Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

[X86] Implement __readgsqword (and the rest) as builtins (PR32373)

Authored by hans on Mar 22 2017, 11:33 AM.



It seems MS headers have started using __readgsqword, and since it's
used in a header that doesn't include intrin.h, we can't implement it as
an inline function anymore.

That was already the case for readfsdword, which Saleem added support
for in r220859. This patch reuses that codegen to implement all of

Diff Detail


Event Timeline

hans created this revision.Mar 22 2017, 11:33 AM
thakis accepted this revision.Mar 22 2017, 11:48 AM
This revision is now accepted and ready to land.Mar 22 2017, 11:48 AM
compnerd accepted this revision.Mar 22 2017, 11:51 AM
This revision was automatically updated to reflect the committed changes.
rnk edited edge metadata.Mar 22 2017, 1:03 PM

Yep, thanks, looks good!