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 1413463009: Implemented the Word64Clz TurboFan operator for x64, arm64, and mips64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed a typing problem, and added mips64. 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 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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