Skip to content

Commit

Permalink
Remove asm multi-constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
gendlin committed Aug 11, 2024
1 parent dc84514 commit 2cad60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/m_fixed.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
}
int32_t lo = a;
int32_t hi = a >> 32;
asm("idivl %[divisor]" : "+a" (lo), "+d" (hi) : [divisor] "rm" (b));
asm("idivl %[divisor]" : "+a" (lo), "+d" (hi) : [divisor] "r" (b));
return lo;
}

Expand Down

0 comments on commit 2cad60b

Please sign in to comment.