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 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 void pop(Register dst); | 687 void pop(Register dst); |
688 void pop(const Operand& dst); | 688 void pop(const Operand& dst); |
689 | 689 |
690 void enter(Immediate size); | 690 void enter(Immediate size); |
691 void leave(); | 691 void leave(); |
692 | 692 |
693 // Moves | 693 // Moves |
694 void movb(Register dst, const Operand& src); | 694 void movb(Register dst, const Operand& src); |
695 void movb(Register dst, Immediate imm); | 695 void movb(Register dst, Immediate imm); |
696 void movb(const Operand& dst, Register src); | 696 void movb(const Operand& dst, Register src); |
| 697 void movb(const Operand& dst, Immediate imm); |
697 | 698 |
698 // Move the low 16 bits of a 64-bit register value to a 16-bit | 699 // Move the low 16 bits of a 64-bit register value to a 16-bit |
699 // memory location. | 700 // memory location. |
700 void movw(const Operand& dst, Register src); | 701 void movw(const Operand& dst, Register src); |
| 702 void movw(const Operand& dst, Immediate imm); |
701 | 703 |
702 void movl(Register dst, Register src); | 704 void movl(Register dst, Register src); |
703 void movl(Register dst, const Operand& src); | 705 void movl(Register dst, const Operand& src); |
704 void movl(const Operand& dst, Register src); | 706 void movl(const Operand& dst, Register src); |
705 void movl(const Operand& dst, Immediate imm); | 707 void movl(const Operand& dst, Immediate imm); |
706 // Load a 32-bit immediate value, zero-extended to 64 bits. | 708 // Load a 32-bit immediate value, zero-extended to 64 bits. |
707 void movl(Register dst, Immediate imm32); | 709 void movl(Register dst, Immediate imm32); |
708 | 710 |
709 // Move 64 bit register value to 64-bit memory location. | 711 // Move 64 bit register value to 64-bit memory location. |
710 void movq(const Operand& dst, Register src); | 712 void movq(const Operand& dst, Register src); |
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1704 private: | 1706 private: |
1705 Assembler* assembler_; | 1707 Assembler* assembler_; |
1706 #ifdef DEBUG | 1708 #ifdef DEBUG |
1707 int space_before_; | 1709 int space_before_; |
1708 #endif | 1710 #endif |
1709 }; | 1711 }; |
1710 | 1712 |
1711 } } // namespace v8::internal | 1713 } } // namespace v8::internal |
1712 | 1714 |
1713 #endif // V8_X64_ASSEMBLER_X64_H_ | 1715 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |