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 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1018 | 1018 |
1019 void Tzcntq(Register dst, Register src); | 1019 void Tzcntq(Register dst, Register src); |
1020 void Tzcntq(Register dst, const Operand& src); | 1020 void Tzcntq(Register dst, const Operand& src); |
1021 | 1021 |
1022 void Tzcntl(Register dst, Register src); | 1022 void Tzcntl(Register dst, Register src); |
1023 void Tzcntl(Register dst, const Operand& src); | 1023 void Tzcntl(Register dst, const Operand& src); |
1024 | 1024 |
1025 void Popcntl(Register dst, Register src); | 1025 void Popcntl(Register dst, Register src); |
1026 void Popcntl(Register dst, const Operand& src); | 1026 void Popcntl(Register dst, const Operand& src); |
1027 | 1027 |
| 1028 void Popcntq(Register dst, Register src); |
| 1029 void Popcntq(Register dst, const Operand& src); |
| 1030 |
1028 // Non-x64 instructions. | 1031 // Non-x64 instructions. |
1029 // Push/pop all general purpose registers. | 1032 // Push/pop all general purpose registers. |
1030 // Does not push rsp/rbp nor any of the assembler's special purpose registers | 1033 // Does not push rsp/rbp nor any of the assembler's special purpose registers |
1031 // (kScratchRegister, kRootRegister). | 1034 // (kScratchRegister, kRootRegister). |
1032 void Pushad(); | 1035 void Pushad(); |
1033 void Popad(); | 1036 void Popad(); |
1034 // Sets the stack as after performing Popad, without actually loading the | 1037 // Sets the stack as after performing Popad, without actually loading the |
1035 // registers. | 1038 // registers. |
1036 void Dropad(); | 1039 void Dropad(); |
1037 | 1040 |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1723 } \ | 1726 } \ |
1724 masm-> | 1727 masm-> |
1725 #else | 1728 #else |
1726 #define ACCESS_MASM(masm) masm-> | 1729 #define ACCESS_MASM(masm) masm-> |
1727 #endif | 1730 #endif |
1728 | 1731 |
1729 } // namespace internal | 1732 } // namespace internal |
1730 } // namespace v8 | 1733 } // namespace v8 |
1731 | 1734 |
1732 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1735 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |