aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/include/x86/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/include/x86/cpu.h b/com32/include/x86/cpu.h
index 5537da66..4bbcc802 100644
--- a/com32/include/x86/cpu.h
+++ b/com32/include/x86/cpu.h
@@ -25,7 +25,7 @@ static inline __constfunc bool cpu_has_eflag(unsigned long flag)
"pushf ; "
"pop %1 ; "
"popf"
- : "=r" (f1), "=r" (f2) : "ri" (flag));
+ : "=&r" (f1), "=&r" (f2) : "ri" (flag));
return !!((f1 ^ f2) & flag);
}