Skip to content

Commit

Permalink
Fixing a typo in the isGenuineIntel check
Browse files Browse the repository at this point in the history
  • Loading branch information
tannergooding committed Aug 5, 2020
1 parent 45354fe commit 23ae81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/JIT/HardwareIntrinsics/X86/X86Base/CpuId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static unsafe int Main(string[] args)
(int eax, int ebx, int ecx, int edx) = X86Base.CpuId(0x00000000, 0x00000000);

bool isAuthenticAmd = (ebx == 0x68747541) && (ecx == 0x444D4163) && (edx == 0x69746E65);
bool isGenuineIntel = (ebx == 0x756E6547) && (ecx == 0x6C65746E) && (edx == 0x6C656E69);
bool isGenuineIntel = (ebx == 0x756E6547) && (ecx == 0x6C65746E) && (edx == 0x49656E69);

if (!isAuthenticAmd && !isGenuineIntel)
{
Expand Down

0 comments on commit 23ae81d

Please sign in to comment.