| 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 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 void Pop(Register dst) { pop(dst); } | 805 void Pop(Register dst) { pop(dst); } |
| 806 void PushReturnAddressFrom(Register src) { push(src); } | 806 void PushReturnAddressFrom(Register src) { push(src); } |
| 807 void PopReturnAddressTo(Register dst) { pop(dst); } | 807 void PopReturnAddressTo(Register dst) { pop(dst); } |
| 808 | 808 |
| 809 void Lzcnt(Register dst, Register src) { Lzcnt(dst, Operand(src)); } | 809 void Lzcnt(Register dst, Register src) { Lzcnt(dst, Operand(src)); } |
| 810 void Lzcnt(Register dst, const Operand& src); | 810 void Lzcnt(Register dst, const Operand& src); |
| 811 | 811 |
| 812 void Tzcnt(Register dst, Register src) { Tzcnt(dst, Operand(src)); } | 812 void Tzcnt(Register dst, Register src) { Tzcnt(dst, Operand(src)); } |
| 813 void Tzcnt(Register dst, const Operand& src); | 813 void Tzcnt(Register dst, const Operand& src); |
| 814 | 814 |
| 815 void Popcnt(Register dst, Register src) { Popcnt(dst, Operand(src)); } |
| 816 void Popcnt(Register dst, const Operand& src); |
| 817 |
| 815 // Emit call to the code we are currently generating. | 818 // Emit call to the code we are currently generating. |
| 816 void CallSelf() { | 819 void CallSelf() { |
| 817 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location())); | 820 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location())); |
| 818 call(self, RelocInfo::CODE_TARGET); | 821 call(self, RelocInfo::CODE_TARGET); |
| 819 } | 822 } |
| 820 | 823 |
| 821 // Move if the registers are not identical. | 824 // Move if the registers are not identical. |
| 822 void Move(Register target, Register source); | 825 void Move(Register target, Register source); |
| 823 | 826 |
| 824 // Move a constant into a destination using the most efficient encoding. | 827 // Move a constant into a destination using the most efficient encoding. |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1082 masm-> | 1085 masm-> |
| 1083 #else | 1086 #else |
| 1084 #define ACCESS_MASM(masm) masm-> | 1087 #define ACCESS_MASM(masm) masm-> |
| 1085 #endif | 1088 #endif |
| 1086 | 1089 |
| 1087 | 1090 |
| 1088 } // namespace internal | 1091 } // namespace internal |
| 1089 } // namespace v8 | 1092 } // namespace v8 |
| 1090 | 1093 |
| 1091 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1094 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
| OLD | NEW |