| 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_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
| 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 // from the stack, clobbering only the esp register. | 797 // from the stack, clobbering only the esp register. |
| 798 void Drop(int element_count); | 798 void Drop(int element_count); |
| 799 | 799 |
| 800 void Call(Label* target) { call(target); } | 800 void Call(Label* target) { call(target); } |
| 801 void Call(Handle<Code> target, RelocInfo::Mode rmode) { call(target, rmode); } | 801 void Call(Handle<Code> target, RelocInfo::Mode rmode) { call(target, rmode); } |
| 802 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); } | 802 void Jump(Handle<Code> target, RelocInfo::Mode rmode) { jmp(target, rmode); } |
| 803 void Push(Register src) { push(src); } | 803 void Push(Register src) { push(src); } |
| 804 void Push(const Operand& src) { push(src); } | 804 void Push(const Operand& src) { push(src); } |
| 805 void Push(Immediate value) { push(value); } | 805 void Push(Immediate value) { push(value); } |
| 806 void Pop(Register dst) { pop(dst); } | 806 void Pop(Register dst) { pop(dst); } |
| 807 void Pop(const Operand& dst) { pop(dst); } |
| 807 void PushReturnAddressFrom(Register src) { push(src); } | 808 void PushReturnAddressFrom(Register src) { push(src); } |
| 808 void PopReturnAddressTo(Register dst) { pop(dst); } | 809 void PopReturnAddressTo(Register dst) { pop(dst); } |
| 809 | 810 |
| 810 void Lzcnt(Register dst, Register src) { Lzcnt(dst, Operand(src)); } | 811 void Lzcnt(Register dst, Register src) { Lzcnt(dst, Operand(src)); } |
| 811 void Lzcnt(Register dst, const Operand& src); | 812 void Lzcnt(Register dst, const Operand& src); |
| 812 | 813 |
| 813 void Tzcnt(Register dst, Register src) { Tzcnt(dst, Operand(src)); } | 814 void Tzcnt(Register dst, Register src) { Tzcnt(dst, Operand(src)); } |
| 814 void Tzcnt(Register dst, const Operand& src); | 815 void Tzcnt(Register dst, const Operand& src); |
| 815 | 816 |
| 816 void Popcnt(Register dst, Register src) { Popcnt(dst, Operand(src)); } | 817 void Popcnt(Register dst, Register src) { Popcnt(dst, Operand(src)); } |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1086 masm-> | 1087 masm-> |
| 1087 #else | 1088 #else |
| 1088 #define ACCESS_MASM(masm) masm-> | 1089 #define ACCESS_MASM(masm) masm-> |
| 1089 #endif | 1090 #endif |
| 1090 | 1091 |
| 1091 | 1092 |
| 1092 } // namespace internal | 1093 } // namespace internal |
| 1093 } // namespace v8 | 1094 } // namespace v8 |
| 1094 | 1095 |
| 1095 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1096 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
| OLD | NEW |