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 680 matching lines...) Loading... |
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 void movb(const Operand& dst, Immediate imm); |
698 | 698 |
699 // 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 |
700 // memory location. | 700 // memory location. |
| 701 void movw(Register dst, const Operand& src); |
701 void movw(const Operand& dst, Register src); | 702 void movw(const Operand& dst, Register src); |
702 void movw(const Operand& dst, Immediate imm); | 703 void movw(const Operand& dst, Immediate imm); |
703 | 704 |
704 void movl(Register dst, Register src); | 705 void movl(Register dst, Register src); |
705 void movl(Register dst, const Operand& src); | 706 void movl(Register dst, const Operand& src); |
706 void movl(const Operand& dst, Register src); | 707 void movl(const Operand& dst, Register src); |
707 void movl(const Operand& dst, Immediate imm); | 708 void movl(const Operand& dst, Immediate imm); |
708 // Load a 32-bit immediate value, zero-extended to 64 bits. | 709 // Load a 32-bit immediate value, zero-extended to 64 bits. |
709 void movl(Register dst, Immediate imm32); | 710 void movl(Register dst, Immediate imm32); |
710 | 711 |
(...skipping 994 matching lines...) Loading... |
1705 private: | 1706 private: |
1706 Assembler* assembler_; | 1707 Assembler* assembler_; |
1707 #ifdef DEBUG | 1708 #ifdef DEBUG |
1708 int space_before_; | 1709 int space_before_; |
1709 #endif | 1710 #endif |
1710 }; | 1711 }; |
1711 | 1712 |
1712 } } // namespace v8::internal | 1713 } } // namespace v8::internal |
1713 | 1714 |
1714 #endif // V8_X64_ASSEMBLER_X64_H_ | 1715 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |