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_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_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/base/flags.h" | 10 #include "src/base/flags.h" |
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1003 void CallSelf() { | 1003 void CallSelf() { |
1004 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location())); | 1004 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location())); |
1005 Call(self, RelocInfo::CODE_TARGET); | 1005 Call(self, RelocInfo::CODE_TARGET); |
1006 } | 1006 } |
1007 | 1007 |
1008 // Non-SSE2 instructions. | 1008 // Non-SSE2 instructions. |
1009 void Pextrd(Register dst, XMMRegister src, int8_t imm8); | 1009 void Pextrd(Register dst, XMMRegister src, int8_t imm8); |
1010 void Pinsrd(XMMRegister dst, Register src, int8_t imm8); | 1010 void Pinsrd(XMMRegister dst, Register src, int8_t imm8); |
1011 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); | 1011 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); |
1012 | 1012 |
| 1013 void Lzcntq(Register dst, Register src); |
| 1014 void Lzcntq(Register dst, const Operand& src); |
| 1015 |
1013 void Lzcntl(Register dst, Register src); | 1016 void Lzcntl(Register dst, Register src); |
1014 void Lzcntl(Register dst, const Operand& src); | 1017 void Lzcntl(Register dst, const Operand& src); |
1015 | 1018 |
1016 void Tzcntl(Register dst, Register src); | 1019 void Tzcntl(Register dst, Register src); |
1017 void Tzcntl(Register dst, const Operand& src); | 1020 void Tzcntl(Register dst, const Operand& src); |
1018 | 1021 |
1019 void Popcntl(Register dst, Register src); | 1022 void Popcntl(Register dst, Register src); |
1020 void Popcntl(Register dst, const Operand& src); | 1023 void Popcntl(Register dst, const Operand& src); |
1021 | 1024 |
1022 // Non-x64 instructions. | 1025 // Non-x64 instructions. |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1717 } \ | 1720 } \ |
1718 masm-> | 1721 masm-> |
1719 #else | 1722 #else |
1720 #define ACCESS_MASM(masm) masm-> | 1723 #define ACCESS_MASM(masm) masm-> |
1721 #endif | 1724 #endif |
1722 | 1725 |
1723 } // namespace internal | 1726 } // namespace internal |
1724 } // namespace v8 | 1727 } // namespace v8 |
1725 | 1728 |
1726 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1729 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |