OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 | 839 |
840 // Emit code to discard a non-negative number of pointer-sized elements | 840 // Emit code to discard a non-negative number of pointer-sized elements |
841 // from the stack, clobbering only the rsp register. | 841 // from the stack, clobbering only the rsp register. |
842 void Drop(int stack_elements); | 842 void Drop(int stack_elements); |
843 | 843 |
844 void Call(Label* target) { call(target); } | 844 void Call(Label* target) { call(target); } |
845 void Push(Register src) { push(src); } | 845 void Push(Register src) { push(src); } |
846 void Pop(Register dst) { pop(dst); } | 846 void Pop(Register dst) { pop(dst); } |
847 void PushReturnAddressFrom(Register src) { push(src); } | 847 void PushReturnAddressFrom(Register src) { push(src); } |
848 void PopReturnAddressTo(Register dst) { pop(dst); } | 848 void PopReturnAddressTo(Register dst) { pop(dst); } |
| 849 void MoveDouble(Register dst, const Operand& src) { movq(dst, src); } |
| 850 void MoveDouble(const Operand& dst, Register src) { movq(dst, src); } |
849 | 851 |
850 // Control Flow | 852 // Control Flow |
851 void Jump(Address destination, RelocInfo::Mode rmode); | 853 void Jump(Address destination, RelocInfo::Mode rmode); |
852 void Jump(ExternalReference ext); | 854 void Jump(ExternalReference ext); |
853 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); | 855 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); |
854 | 856 |
855 void Call(Address destination, RelocInfo::Mode rmode); | 857 void Call(Address destination, RelocInfo::Mode rmode); |
856 void Call(ExternalReference ext); | 858 void Call(ExternalReference ext); |
857 void Call(Handle<Code> code_object, | 859 void Call(Handle<Code> code_object, |
858 RelocInfo::Mode rmode, | 860 RelocInfo::Mode rmode, |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1603 masm->popfq(); \ | 1605 masm->popfq(); \ |
1604 } \ | 1606 } \ |
1605 masm-> | 1607 masm-> |
1606 #else | 1608 #else |
1607 #define ACCESS_MASM(masm) masm-> | 1609 #define ACCESS_MASM(masm) masm-> |
1608 #endif | 1610 #endif |
1609 | 1611 |
1610 } } // namespace v8::internal | 1612 } } // namespace v8::internal |
1611 | 1613 |
1612 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1614 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |