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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 void movw(const Operand& dst, Immediate imm); | 692 void movw(const Operand& dst, Immediate imm); |
693 | 693 |
694 // Move the offset of the label location relative to the current | 694 // Move the offset of the label location relative to the current |
695 // position (after the move) to the destination. | 695 // position (after the move) to the destination. |
696 void movl(const Operand& dst, Label* src); | 696 void movl(const Operand& dst, Label* src); |
697 | 697 |
698 // Loads a pointer into a register with a relocation mode. | 698 // Loads a pointer into a register with a relocation mode. |
699 void movp(Register dst, void* ptr, RelocInfo::Mode rmode); | 699 void movp(Register dst, void* ptr, RelocInfo::Mode rmode); |
700 | 700 |
701 // Loads a 64-bit immediate into a register. | 701 // Loads a 64-bit immediate into a register. |
702 void movq(Register dst, int64_t value); | 702 void movq(Register dst, int64_t value, |
703 void movq(Register dst, uint64_t value); | 703 RelocInfo::Mode rmode = RelocInfo::NONE64); |
| 704 void movq(Register dst, uint64_t value, |
| 705 RelocInfo::Mode rmode = RelocInfo::NONE64); |
704 | 706 |
705 void movsxbl(Register dst, Register src); | 707 void movsxbl(Register dst, Register src); |
706 void movsxbl(Register dst, const Operand& src); | 708 void movsxbl(Register dst, const Operand& src); |
707 void movsxbq(Register dst, const Operand& src); | 709 void movsxbq(Register dst, const Operand& src); |
708 void movsxwl(Register dst, Register src); | 710 void movsxwl(Register dst, Register src); |
709 void movsxwl(Register dst, const Operand& src); | 711 void movsxwl(Register dst, const Operand& src); |
710 void movsxwq(Register dst, const Operand& src); | 712 void movsxwq(Register dst, const Operand& src); |
711 void movsxlq(Register dst, Register src); | 713 void movsxlq(Register dst, Register src); |
712 void movsxlq(Register dst, const Operand& src); | 714 void movsxlq(Register dst, const Operand& src); |
713 | 715 |
(...skipping 1495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2209 Assembler* assembler_; | 2211 Assembler* assembler_; |
2210 #ifdef DEBUG | 2212 #ifdef DEBUG |
2211 int space_before_; | 2213 int space_before_; |
2212 #endif | 2214 #endif |
2213 }; | 2215 }; |
2214 | 2216 |
2215 } // namespace internal | 2217 } // namespace internal |
2216 } // namespace v8 | 2218 } // namespace v8 |
2217 | 2219 |
2218 #endif // V8_X64_ASSEMBLER_X64_H_ | 2220 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |