mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-06 04:49:16 +00:00
Kernel now uses SSE instructions properly
This commit is contained in:
@ -22,7 +22,7 @@ namespace Random
|
||||
#endif
|
||||
RDRANDFlag = cpuid1amd.ECX.RDRAND;
|
||||
}
|
||||
if (strcmp(CPU::Vendor(), x86_CPUID_VENDOR_INTEL) == 0)
|
||||
else if (strcmp(CPU::Vendor(), x86_CPUID_VENDOR_INTEL) == 0)
|
||||
{
|
||||
#if defined(__amd64__)
|
||||
CPU::x64::Intel::CPUID0x1 cpuid1intel;
|
||||
@ -71,7 +71,7 @@ namespace Random
|
||||
#endif
|
||||
RDRANDFlag = cpuid1amd.ECX.RDRAND;
|
||||
}
|
||||
if (strcmp(CPU::Vendor(), x86_CPUID_VENDOR_INTEL) == 0)
|
||||
else if (strcmp(CPU::Vendor(), x86_CPUID_VENDOR_INTEL) == 0)
|
||||
{
|
||||
#if defined(__amd64__)
|
||||
CPU::x64::Intel::CPUID0x1 cpuid1intel;
|
||||
@ -120,7 +120,7 @@ namespace Random
|
||||
#endif
|
||||
RDRANDFlag = cpuid1amd.ECX.RDRAND;
|
||||
}
|
||||
if (strcmp(CPU::Vendor(), x86_CPUID_VENDOR_INTEL) == 0)
|
||||
else if (strcmp(CPU::Vendor(), x86_CPUID_VENDOR_INTEL) == 0)
|
||||
{
|
||||
#if defined(__amd64__)
|
||||
CPU::x64::Intel::CPUID0x1 cpuid1intel;
|
||||
|
Reference in New Issue
Block a user