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 ; Compare EAX and ECX. If they are equal then that means the bit wasn't
; flipped, and CPUID isn't supported. ; flipped, and CPUID isn't supported.
xor eax, ecx cmp eax, ecx
jz .no_cpuid je .no_cpuid
ret ret
.no_cpuid: .no_cpuid:
mov al, "1" mov al, "1"