OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 5 #ifndef V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 6 #define V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
834 // from the stack, clobbering only the esp register. | 834 // from the stack, clobbering only the esp register. |
835 void Drop(int element_count); | 835 void Drop(int element_count); |
836 | 836 |
837 void Call(Label* target) { call(target); } | 837 void Call(Label* target) { call(target); } |
838 void Call(Handle<Code> target, RelocInfo::Mode rmode) { call(target, rmode); } | 838 void Call(Handle<Code> target, RelocInfo::Mode rmode) { call(target, rmode); } |
839 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); } | 839 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); } |
840 void Push(Register src) { push(src); } | 840 void Push(Register src) { push(src); } |
841 void Push(const Operand& src) { push(src); } | 841 void Push(const Operand& src) { push(src); } |
842 void Push(Immediate value) { push(value); } | 842 void Push(Immediate value) { push(value); } |
843 void Pop(Register dst) { pop(dst); } | 843 void Pop(Register dst) { pop(dst); } |
| 844 void Pop(const Operand& dst) { pop(dst); } |
844 void PushReturnAddressFrom(Register src) { push(src); } | 845 void PushReturnAddressFrom(Register src) { push(src); } |
845 void PopReturnAddressTo(Register dst) { pop(dst); } | 846 void PopReturnAddressTo(Register dst) { pop(dst); } |
846 | 847 |
847 // Non-SSE2 instructions. | 848 // Non-SSE2 instructions. |
848 void Pextrd(Register dst, XMMRegister src, int8_t imm8); | 849 void Pextrd(Register dst, XMMRegister src, int8_t imm8); |
849 void Pinsrd(XMMRegister dst, Register src, int8_t imm8) { | 850 void Pinsrd(XMMRegister dst, Register src, int8_t imm8) { |
850 Pinsrd(dst, Operand(src), imm8); | 851 Pinsrd(dst, Operand(src), imm8); |
851 } | 852 } |
852 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); | 853 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); |
853 | 854 |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1132 masm-> | 1133 masm-> |
1133 #else | 1134 #else |
1134 #define ACCESS_MASM(masm) masm-> | 1135 #define ACCESS_MASM(masm) masm-> |
1135 #endif | 1136 #endif |
1136 | 1137 |
1137 | 1138 |
1138 } // namespace internal | 1139 } // namespace internal |
1139 } // namespace v8 | 1140 } // namespace v8 |
1140 | 1141 |
1141 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1142 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
OLD | NEW |