[clang] Fixed x86 cpuid NSC signature
authorRaphael Isemann <teemperor@gmail.com>
Sat, 10 Aug 2019 10:14:01 +0000 (10:14 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Sat, 10 Aug 2019 10:14:01 +0000 (10:14 +0000)
commitc4b5b66a05bbf53573e4b2f1355b455bc7a37c64
tree21959fd6c105c6c028277288eb7e3cec0f086229
parent36cd84bdd9a7bca22b04341aa6abbf4d6b6e86d2
[clang] Fixed x86 cpuid NSC signature

Summary:
The signature "Geode by NSC" for NSC vendor is wrong.
In lib/Headers/cpuid.h, signature_NSC_edx and signature_NSC_ecx constants are inverted (cpuid signature order is ebx # edx # ecx).

Reviewers: teemperor, rsmith, craig.topper

Reviewed By: teemperor, craig.topper

Subscribers: craig.topper, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D65978

llvm-svn: 368510
clang/lib/Headers/cpuid.h