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

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

Issue 1405453003: CTZ instruction implemented as optional operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed a bug when bmi1=false Created 5 years, 2 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/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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 } 932 }
933 933
934 // Non-SSE2 instructions. 934 // Non-SSE2 instructions.
935 void Pextrd(Register dst, XMMRegister src, int8_t imm8); 935 void Pextrd(Register dst, XMMRegister src, int8_t imm8);
936 void Pinsrd(XMMRegister dst, Register src, int8_t imm8); 936 void Pinsrd(XMMRegister dst, Register src, int8_t imm8);
937 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); 937 void Pinsrd(XMMRegister dst, const Operand& src, int8_t imm8);
938 938
939 void Lzcntl(Register dst, Register src); 939 void Lzcntl(Register dst, Register src);
940 void Lzcntl(Register dst, const Operand& src); 940 void Lzcntl(Register dst, const Operand& src);
941 941
942 void Tzcntl(Register dst, Register src);
943 void Tzcntl(Register dst, const Operand& src);
944
942 // Non-x64 instructions. 945 // Non-x64 instructions.
943 // Push/pop all general purpose registers. 946 // Push/pop all general purpose registers.
944 // Does not push rsp/rbp nor any of the assembler's special purpose registers 947 // Does not push rsp/rbp nor any of the assembler's special purpose registers
945 // (kScratchRegister, kRootRegister). 948 // (kScratchRegister, kRootRegister).
946 void Pushad(); 949 void Pushad();
947 void Popad(); 950 void Popad();
948 // Sets the stack as after performing Popad, without actually loading the 951 // Sets the stack as after performing Popad, without actually loading the
949 // registers. 952 // registers.
950 void Dropad(); 953 void Dropad();
951 954
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
1637 } \ 1640 } \
1638 masm-> 1641 masm->
1639 #else 1642 #else
1640 #define ACCESS_MASM(masm) masm-> 1643 #define ACCESS_MASM(masm) masm->
1641 #endif 1644 #endif
1642 1645
1643 } // namespace internal 1646 } // namespace internal
1644 } // namespace v8 1647 } // namespace v8
1645 1648
1646 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1649 #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