| 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 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 } | 696 } |
| 697 | 697 |
| 698 void andl(Register dst, Immediate src) { | 698 void andl(Register dst, Immediate src) { |
| 699 immediate_arithmetic_op_32(0x4, dst, src); | 699 immediate_arithmetic_op_32(0x4, dst, src); |
| 700 } | 700 } |
| 701 | 701 |
| 702 void decq(Register dst); | 702 void decq(Register dst); |
| 703 void decq(const Operand& dst); | 703 void decq(const Operand& dst); |
| 704 void decl(Register dst); | 704 void decl(Register dst); |
| 705 void decl(const Operand& dst); | 705 void decl(const Operand& dst); |
| 706 void decb(Register dst); |
| 707 void decb(const Operand& dst); |
| 706 | 708 |
| 707 // Sign-extends rax into rdx:rax. | 709 // Sign-extends rax into rdx:rax. |
| 708 void cqo(); | 710 void cqo(); |
| 709 // Sign-extends eax into edx:eax. | 711 // Sign-extends eax into edx:eax. |
| 710 void cdq(); | 712 void cdq(); |
| 711 | 713 |
| 712 // Divide rdx:rax by src. Quotient in rax, remainder in rdx. | 714 // Divide rdx:rax by src. Quotient in rax, remainder in rdx. |
| 713 void idivq(Register src); | 715 void idivq(Register src); |
| 714 // Divide edx:eax by lower 32 bits of src. Quotient in eax, rem. in edx. | 716 // Divide edx:eax by lower 32 bits of src. Quotient in eax, rem. in edx. |
| 715 void idivl(Register src); | 717 void idivl(Register src); |
| (...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1315 private: | 1317 private: |
| 1316 Assembler* assembler_; | 1318 Assembler* assembler_; |
| 1317 #ifdef DEBUG | 1319 #ifdef DEBUG |
| 1318 int space_before_; | 1320 int space_before_; |
| 1319 #endif | 1321 #endif |
| 1320 }; | 1322 }; |
| 1321 | 1323 |
| 1322 } } // namespace v8::internal | 1324 } } // namespace v8::internal |
| 1323 | 1325 |
| 1324 #endif // V8_X64_ASSEMBLER_X64_H_ | 1326 #endif // V8_X64_ASSEMBLER_X64_H_ |
| OLD | NEW |