Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1143)

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 1424173006: Implemented the Word64Popcnt TurboFan operator for x64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/x64/disasm-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/x64/disasm-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698