x64: Fix udiv and sdiv for 8bit integers
This commit is contained in:
@@ -1354,6 +1354,10 @@ fn test_x64_emit() {
|
||||
"mul %rdi",
|
||||
));
|
||||
|
||||
// ========================================================
|
||||
// cbw
|
||||
insns.push((Inst::sign_extend_al_to_ah(), "6698", "cbw"));
|
||||
|
||||
// ========================================================
|
||||
// cdq family: SignExtendRaxRdx
|
||||
insns.push((Inst::sign_extend_rax_to_rdx(2), "6699", "cwd"));
|
||||
|
||||
Reference in New Issue
Block a user