OLD | NEW |
---|---|
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 Loading... | |
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); | |
Benedikt Meurer
2015/04/08 05:45:41
Don't remove these functions.
| |
931 void Lzcntl(Register dst, const Operand& src); | |
932 | |
933 // Non-x64 instructions. | 930 // Non-x64 instructions. |
934 // Push/pop all general purpose registers. | 931 // Push/pop all general purpose registers. |
935 // Does not push rsp/rbp nor any of the assembler's special purpose registers | 932 // Does not push rsp/rbp nor any of the assembler's special purpose registers |
936 // (kScratchRegister, kRootRegister). | 933 // (kScratchRegister, kRootRegister). |
937 void Pushad(); | 934 void Pushad(); |
938 void Popad(); | 935 void Popad(); |
939 // Sets the stack as after performing Popad, without actually loading the | 936 // Sets the stack as after performing Popad, without actually loading the |
940 // registers. | 937 // registers. |
941 void Dropad(); | 938 void Dropad(); |
942 | 939 |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1622 masm->popfq(); \ | 1619 masm->popfq(); \ |
1623 } \ | 1620 } \ |
1624 masm-> | 1621 masm-> |
1625 #else | 1622 #else |
1626 #define ACCESS_MASM(masm) masm-> | 1623 #define ACCESS_MASM(masm) masm-> |
1627 #endif | 1624 #endif |
1628 | 1625 |
1629 } } // namespace v8::internal | 1626 } } // namespace v8::internal |
1630 | 1627 |
1631 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1628 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |