[PATCH] D98322: [llvm] Fix thinko in getVendorSignature(), where expected values of ECX and EDX were flipped for the AMD case.
Vy Nguyen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 10 18:39:58 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG64d2c326b7f0: [llvm] Fix thinko in getVendorSignature(), where expected values of ECX and… (authored by oontvoo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98322/new/
https://reviews.llvm.org/D98322
Files:
llvm/lib/Support/Host.cpp
Index: llvm/lib/Support/Host.cpp
===================================================================
--- llvm/lib/Support/Host.cpp
+++ llvm/lib/Support/Host.cpp
@@ -512,11 +512,11 @@
return VendorSignatures::UNKNOWN;
// "Genu ineI ntel"
- if (EBX == 0x756e6547 && ECX == 0x6c65746e && EDX == 0x49656e69)
+ if (EBX == 0x756e6547 && EDX == 0x49656e69 && ECX == 0x6c65746e)
return VendorSignatures::GENUINE_INTEL;
// "Auth enti cAMD"
- if (EBX == 0x68747541 && ECX == 0x69746e65 && EDX == 0x444d4163)
+ if (EBX == 0x68747541 && EDX == 0x69746e65 && ECX == 0x444d4163)
return VendorSignatures::AUTHENTIC_AMD;
return VendorSignatures::UNKNOWN;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98322.329818.patch
Type: text/x-patch
Size: 673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210311/858731e4/attachment.bin>
More information about the llvm-commits
mailing list