This is an archive of the discontinued LLVM Phabricator instance.

[MS] Zero out ECX in __cpuid in intrin.h
ClosedPublic

Authored by rnk on Nov 6 2018, 11:41 AM.

Details

Summary

Some CPUID leafs depend on the value of ECX as well as EAX, but we left
it uninitialized.

Originally reported as https://crbug.com/901547

Diff Detail

Repository
rL LLVM

Event Timeline

rnk created this revision.Nov 6 2018, 11:41 AM
This revision is now accepted and ready to land.Nov 6 2018, 12:35 PM
This revision was automatically updated to reflect the committed changes.
hans added a comment.Nov 7 2018, 1:22 AM

Thanks for fixing!