We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1db941 commit 3049a31Copy full SHA for 3049a31
crates/core_arch/src/x86/cpuid.rs
@@ -62,9 +62,9 @@ pub unsafe fn __cpuid_count(leaf: u32, sub_leaf: u32) -> CpuidResult {
62
#[cfg(target_arch = "x86")]
63
{
64
asm!(
65
- "movl {0}, ebx",
+ "mov {0}, ebx",
66
"cpuid",
67
- "xchgl {0}, ebx",
+ "xchg {0}, ebx",
68
out(reg) ebx,
69
inout("eax") leaf => eax,
70
inout("ecx") sub_leaf => ecx,
@@ -75,9 +75,9 @@ pub unsafe fn __cpuid_count(leaf: u32, sub_leaf: u32) -> CpuidResult {
75
#[cfg(target_arch = "x86_64")]
76
77
78
- "movq {0:r}, rbx",
+ "mov {0:r}, rbx",
79
80
- "xchgq {0:r}, rbx",
+ "xchg {0:r}, rbx",
81
82
83
0 commit comments