| 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 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 void pop(Register dst); | 666 void pop(Register dst); |
| 667 void pop(const Operand& dst); | 667 void pop(const Operand& dst); |
| 668 | 668 |
| 669 void enter(Immediate size); | 669 void enter(Immediate size); |
| 670 void leave(); | 670 void leave(); |
| 671 | 671 |
| 672 // Moves | 672 // Moves |
| 673 void movb(Register dst, const Operand& src); | 673 void movb(Register dst, const Operand& src); |
| 674 void movb(Register dst, Immediate imm); | 674 void movb(Register dst, Immediate imm); |
| 675 void movb(const Operand& dst, Register src); | 675 void movb(const Operand& dst, Register src); |
| 676 void movb(const Operand& dst, Immediate imm); |
| 676 | 677 |
| 677 // Move the low 16 bits of a 64-bit register value to a 16-bit | 678 // Move the low 16 bits of a 64-bit register value to a 16-bit |
| 678 // memory location. | 679 // memory location. |
| 679 void movw(const Operand& dst, Register src); | 680 void movw(const Operand& dst, Register src); |
| 681 void movw(const Operand& dst, Immediate imm); |
| 680 | 682 |
| 681 void movl(Register dst, Register src); | 683 void movl(Register dst, Register src); |
| 682 void movl(Register dst, const Operand& src); | 684 void movl(Register dst, const Operand& src); |
| 683 void movl(const Operand& dst, Register src); | 685 void movl(const Operand& dst, Register src); |
| 684 void movl(const Operand& dst, Immediate imm); | 686 void movl(const Operand& dst, Immediate imm); |
| 685 // Load a 32-bit immediate value, zero-extended to 64 bits. | 687 // Load a 32-bit immediate value, zero-extended to 64 bits. |
| 686 void movl(Register dst, Immediate imm32); | 688 void movl(Register dst, Immediate imm32); |
| 687 | 689 |
| 688 // Move 64 bit register value to 64-bit memory location. | 690 // Move 64 bit register value to 64-bit memory location. |
| 689 void movq(const Operand& dst, Register src); | 691 void movq(const Operand& dst, Register src); |
| (...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1327 | 1329 |
| 1328 // SSE instructions | 1330 // SSE instructions |
| 1329 void movaps(XMMRegister dst, XMMRegister src); | 1331 void movaps(XMMRegister dst, XMMRegister src); |
| 1330 void movss(XMMRegister dst, const Operand& src); | 1332 void movss(XMMRegister dst, const Operand& src); |
| 1331 void movss(const Operand& dst, XMMRegister src); | 1333 void movss(const Operand& dst, XMMRegister src); |
| 1332 | 1334 |
| 1333 void cvttss2si(Register dst, const Operand& src); | 1335 void cvttss2si(Register dst, const Operand& src); |
| 1334 void cvttss2si(Register dst, XMMRegister src); | 1336 void cvttss2si(Register dst, XMMRegister src); |
| 1335 void cvtlsi2ss(XMMRegister dst, Register src); | 1337 void cvtlsi2ss(XMMRegister dst, Register src); |
| 1336 | 1338 |
| 1339 void andps(XMMRegister dst, XMMRegister src); |
| 1340 void orps(XMMRegister dst, XMMRegister src); |
| 1337 void xorps(XMMRegister dst, XMMRegister src); | 1341 void xorps(XMMRegister dst, XMMRegister src); |
| 1338 void andps(XMMRegister dst, XMMRegister src); | |
| 1339 | 1342 |
| 1340 void movmskps(Register dst, XMMRegister src); | 1343 void movmskps(Register dst, XMMRegister src); |
| 1341 | 1344 |
| 1342 // SSE2 instructions | 1345 // SSE2 instructions |
| 1343 void movd(XMMRegister dst, Register src); | 1346 void movd(XMMRegister dst, Register src); |
| 1344 void movd(Register dst, XMMRegister src); | 1347 void movd(Register dst, XMMRegister src); |
| 1345 void movq(XMMRegister dst, Register src); | 1348 void movq(XMMRegister dst, Register src); |
| 1346 void movq(Register dst, XMMRegister src); | 1349 void movq(Register dst, XMMRegister src); |
| 1347 void movq(XMMRegister dst, XMMRegister src); | 1350 void movq(XMMRegister dst, XMMRegister src); |
| 1348 | 1351 |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1683 private: | 1686 private: |
| 1684 Assembler* assembler_; | 1687 Assembler* assembler_; |
| 1685 #ifdef DEBUG | 1688 #ifdef DEBUG |
| 1686 int space_before_; | 1689 int space_before_; |
| 1687 #endif | 1690 #endif |
| 1688 }; | 1691 }; |
| 1689 | 1692 |
| 1690 } } // namespace v8::internal | 1693 } } // namespace v8::internal |
| 1691 | 1694 |
| 1692 #endif // V8_X64_ASSEMBLER_X64_H_ | 1695 #endif // V8_X64_ASSEMBLER_X64_H_ |
| OLD | NEW |