Use cmp and je instead of xor and jz

This commit is contained in:
Philipp Oppermann
2016-02-01 23:42:09 +01:00
parent b9c94baaaa
commit c2c863c7f3

View File

@@ -139,8 +139,8 @@ check_cpuid:
; Compare EAX and ECX. If they are equal then that means the bit wasn't
; flipped, and CPUID isn't supported.
xor eax, ecx
jz .no_cpuid
cmp eax, ecx
je .no_cpuid
ret
.no_cpuid:
mov al, "1"