This is an archive of the discontinued LLVM Phabricator instance.

[X86] Add RDRAND feature to GLM CPU
ClosedPublic

Authored by craig.topper on Jun 29 2017, 12:13 PM.

Details

Summary

I believe this should be supported on GLM since RDSEED is.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Jun 29 2017, 12:13 PM
RKSimon accepted this revision.Jul 3 2017, 4:19 AM

LGTM, we're already saying that Goldmont supports rdrand in clang. Up to you if you want to add goldmont tests to the rdrand.ll/rdseed.ll tests (we haven't bothered for any other cpus).

This revision is now accepted and ready to land.Jul 3 2017, 4:19 AM
This revision was automatically updated to reflect the committed changes.