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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 } | 932 } |
933 | 933 |
934 // Non-SSE2 instructions. | 934 // Non-SSE2 instructions. |
935 void Pextrd(Register dst, XMMRegister src, int8_t imm8); | 935 void Pextrd(Register dst, XMMRegister src, int8_t imm8); |
936 void Pinsrd(XMMRegister dst, Register src, int8_t imm8); | 936 void Pinsrd(XMMRegister dst, Register src, int8_t imm8); |
937 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); | 937 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); |
938 | 938 |
939 void Lzcntl(Register dst, Register src); | 939 void Lzcntl(Register dst, Register src); |
940 void Lzcntl(Register dst, const Operand& src); | 940 void Lzcntl(Register dst, const Operand& src); |
941 | 941 |
| 942 void Tzcntl(Register dst, Register src); |
| 943 void Tzcntl(Register dst, const Operand& src); |
| 944 |
942 // Non-x64 instructions. | 945 // Non-x64 instructions. |
943 // Push/pop all general purpose registers. | 946 // Push/pop all general purpose registers. |
944 // Does not push rsp/rbp nor any of the assembler's special purpose registers | 947 // Does not push rsp/rbp nor any of the assembler's special purpose registers |
945 // (kScratchRegister, kRootRegister). | 948 // (kScratchRegister, kRootRegister). |
946 void Pushad(); | 949 void Pushad(); |
947 void Popad(); | 950 void Popad(); |
948 // Sets the stack as after performing Popad, without actually loading the | 951 // Sets the stack as after performing Popad, without actually loading the |
949 // registers. | 952 // registers. |
950 void Dropad(); | 953 void Dropad(); |
951 | 954 |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1637 } \ | 1640 } \ |
1638 masm-> | 1641 masm-> |
1639 #else | 1642 #else |
1640 #define ACCESS_MASM(masm) masm-> | 1643 #define ACCESS_MASM(masm) masm-> |
1641 #endif | 1644 #endif |
1642 | 1645 |
1643 } // namespace internal | 1646 } // namespace internal |
1644 } // namespace v8 | 1647 } // namespace v8 |
1645 | 1648 |
1646 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1649 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |