| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1442 // when size is 32. | 1442 // when size is 32. |
| 1443 void emit_idiv(Register src, int size); | 1443 void emit_idiv(Register src, int size); |
| 1444 void emit_div(Register src, int size); | 1444 void emit_div(Register src, int size); |
| 1445 | 1445 |
| 1446 // Signed multiply instructions. | 1446 // Signed multiply instructions. |
| 1447 // rdx:rax = rax * src when size is 64 or edx:eax = eax * src when size is 32. | 1447 // rdx:rax = rax * src when size is 64 or edx:eax = eax * src when size is 32. |
| 1448 void emit_imul(Register src, int size); | 1448 void emit_imul(Register src, int size); |
| 1449 void emit_imul(Register dst, Register src, int size); | 1449 void emit_imul(Register dst, Register src, int size); |
| 1450 void emit_imul(Register dst, const Operand& src, int size); | 1450 void emit_imul(Register dst, const Operand& src, int size); |
| 1451 void emit_imul(Register dst, Register src, Immediate imm, int size); | 1451 void emit_imul(Register dst, Register src, Immediate imm, int size); |
| 1452 void emit_imul(Register dst, const Operand& src, Immediate imm, int size); |
| 1452 | 1453 |
| 1453 void emit_inc(Register dst, int size); | 1454 void emit_inc(Register dst, int size); |
| 1454 void emit_inc(const Operand& dst, int size); | 1455 void emit_inc(const Operand& dst, int size); |
| 1455 | 1456 |
| 1456 void emit_lea(Register dst, const Operand& src, int size); | 1457 void emit_lea(Register dst, const Operand& src, int size); |
| 1457 | 1458 |
| 1458 void emit_mov(Register dst, const Operand& src, int size); | 1459 void emit_mov(Register dst, const Operand& src, int size); |
| 1459 void emit_mov(Register dst, Register src, int size); | 1460 void emit_mov(Register dst, Register src, int size); |
| 1460 void emit_mov(const Operand& dst, Register src, int size); | 1461 void emit_mov(const Operand& dst, Register src, int size); |
| 1461 void emit_mov(Register dst, Immediate value, int size); | 1462 void emit_mov(Register dst, Immediate value, int size); |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1592 private: | 1593 private: |
| 1593 Assembler* assembler_; | 1594 Assembler* assembler_; |
| 1594 #ifdef DEBUG | 1595 #ifdef DEBUG |
| 1595 int space_before_; | 1596 int space_before_; |
| 1596 #endif | 1597 #endif |
| 1597 }; | 1598 }; |
| 1598 | 1599 |
| 1599 } } // namespace v8::internal | 1600 } } // namespace v8::internal |
| 1600 | 1601 |
| 1601 #endif // V8_X64_ASSEMBLER_X64_H_ | 1602 #endif // V8_X64_ASSEMBLER_X64_H_ |
| OLD | NEW |