Index: src/x64/assembler-x64.h |
=================================================================== |
--- src/x64/assembler-x64.h (revision 2580) |
+++ src/x64/assembler-x64.h (working copy) |
@@ -632,9 +632,13 @@ |
// Sign-extends rax into rdx:rax. |
void cqo(); |
+ // Sign-extends eax into edx:eax. |
+ void cdq(); |
// Divide rdx:rax by src. Quotient in rax, remainder in rdx. |
- void idiv(Register src); |
+ void idivq(Register src); |
+ // Divide edx:eax by lower 32 bits of src. Quotient in eax, rem. in edx. |
+ void idivl(Register src); |
// Signed multiply instructions. |
void imul(Register src); // rdx:rax = rax * src. |