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

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

Issue 1421163005: Implemented the ctz Turbo Fan operator for x64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed the comments 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/assembler-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 998 matching lines...) Expand 10 before | Expand all | Expand 10 after
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); 1013 void Lzcntq(Register dst, Register src);
1014 void Lzcntq(Register dst, const Operand& src); 1014 void Lzcntq(Register dst, const Operand& src);
1015 1015
1016 void Lzcntl(Register dst, Register src); 1016 void Lzcntl(Register dst, Register src);
1017 void Lzcntl(Register dst, const Operand& src); 1017 void Lzcntl(Register dst, const Operand& src);
1018 1018
1019 void Tzcntq(Register dst, Register src);
1020 void Tzcntq(Register dst, const Operand& src);
1021
1019 void Tzcntl(Register dst, Register src); 1022 void Tzcntl(Register dst, Register src);
1020 void Tzcntl(Register dst, const Operand& src); 1023 void Tzcntl(Register dst, const Operand& src);
1021 1024
1022 void Popcntl(Register dst, Register src); 1025 void Popcntl(Register dst, Register src);
1023 void Popcntl(Register dst, const Operand& src); 1026 void Popcntl(Register dst, const Operand& src);
1024 1027
1025 // Non-x64 instructions. 1028 // Non-x64 instructions.
1026 // Push/pop all general purpose registers. 1029 // Push/pop all general purpose registers.
1027 // Does not push rsp/rbp nor any of the assembler's special purpose registers 1030 // Does not push rsp/rbp nor any of the assembler's special purpose registers
1028 // (kScratchRegister, kRootRegister). 1031 // (kScratchRegister, kRootRegister).
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 } \ 1723 } \
1721 masm-> 1724 masm->
1722 #else 1725 #else
1723 #define ACCESS_MASM(masm) masm-> 1726 #define ACCESS_MASM(masm) masm->
1724 #endif 1727 #endif
1725 1728
1726 } // namespace internal 1729 } // namespace internal
1727 } // namespace v8 1730 } // namespace v8
1728 1731
1729 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1732 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698