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

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

Issue 1021183002: [turbofan] Turn Math.clz32 into an inlinable builtin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months 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/lithium-codegen-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/frames.h" 10 #include "src/frames.h"
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 void CallSelf() { 920 void CallSelf() {
921 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location())); 921 Handle<Code> self(reinterpret_cast<Code**>(CodeObject().location()));
922 Call(self, RelocInfo::CODE_TARGET); 922 Call(self, RelocInfo::CODE_TARGET);
923 } 923 }
924 924
925 // Non-SSE2 instructions. 925 // Non-SSE2 instructions.
926 void Pextrd(Register dst, XMMRegister src, int8_t imm8); 926 void Pextrd(Register dst, XMMRegister src, int8_t imm8);
927 void Pinsrd(XMMRegister dst, Register src, int8_t imm8); 927 void Pinsrd(XMMRegister dst, Register src, int8_t imm8);
928 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); 928 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8);
929 929
930 void Lzcntl(Register dst, Register src);
931 void Lzcntl(Register dst, const Operand& src);
932
930 // Non-x64 instructions. 933 // Non-x64 instructions.
931 // Push/pop all general purpose registers. 934 // Push/pop all general purpose registers.
932 // Does not push rsp/rbp nor any of the assembler's special purpose registers 935 // Does not push rsp/rbp nor any of the assembler's special purpose registers
933 // (kScratchRegister, kRootRegister). 936 // (kScratchRegister, kRootRegister).
934 void Pushad(); 937 void Pushad();
935 void Popad(); 938 void Popad();
936 // Sets the stack as after performing Popad, without actually loading the 939 // Sets the stack as after performing Popad, without actually loading the
937 // registers. 940 // registers.
938 void Dropad(); 941 void Dropad();
939 942
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
1619 masm->popfq(); \ 1622 masm->popfq(); \
1620 } \ 1623 } \
1621 masm-> 1624 masm->
1622 #else 1625 #else
1623 #define ACCESS_MASM(masm) masm-> 1626 #define ACCESS_MASM(masm) masm->
1624 #endif 1627 #endif
1625 1628
1626 } } // namespace v8::internal 1629 } } // namespace v8::internal
1627 1630
1628 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1631 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698