peilaus alkaen
https://github.com/henrydcase/nobs.git
synced 2024-11-22 15:18:57 +00:00
fix: ebx -> ecx (#46)
This commit is contained in:
vanhempi
24408329a5
commit
adfaf1e58c
@ -26,8 +26,8 @@ func init() {
|
|||||||
_, ecx, _, _ := cpuid(1, 0)
|
_, ecx, _, _ := cpuid(1, 0)
|
||||||
X86.HasAES = bitn(ecx, 25)
|
X86.HasAES = bitn(ecx, 25)
|
||||||
|
|
||||||
_, ebx, _, _ := cpuid(7, 0)
|
_, ecx, _, _ = cpuid(7, 0)
|
||||||
X86.HasBMI2 = bitn(ebx, 8)
|
X86.HasBMI2 = bitn(ecx, 8)
|
||||||
X86.HasADX = bitn(ebx, 19)
|
X86.HasADX = bitn(ecx, 19)
|
||||||
X86.HasRDSEED = bitn(ebx, 18)
|
X86.HasRDSEED = bitn(ecx, 18)
|
||||||
}
|
}
|
||||||
|
Ladataan…
Viittaa uudesa ongelmassa
Block a user