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 "assembler.h" | 8 #include "assembler.h" |
9 #include "frames.h" | 9 #include "frames.h" |
10 #include "v8globals.h" | 10 #include "v8globals.h" |
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 void TruncateDoubleToI(Register result_reg, XMMRegister input_reg); | 997 void TruncateDoubleToI(Register result_reg, XMMRegister input_reg); |
998 | 998 |
999 void DoubleToI(Register result_reg, XMMRegister input_reg, | 999 void DoubleToI(Register result_reg, XMMRegister input_reg, |
1000 XMMRegister scratch, MinusZeroMode minus_zero_mode, | 1000 XMMRegister scratch, MinusZeroMode minus_zero_mode, |
1001 Label* conversion_failed, Label::Distance dst = Label::kFar); | 1001 Label* conversion_failed, Label::Distance dst = Label::kFar); |
1002 | 1002 |
1003 void TaggedToI(Register result_reg, Register input_reg, XMMRegister temp, | 1003 void TaggedToI(Register result_reg, Register input_reg, XMMRegister temp, |
1004 MinusZeroMode minus_zero_mode, Label* lost_precision, | 1004 MinusZeroMode minus_zero_mode, Label* lost_precision, |
1005 Label::Distance dst = Label::kFar); | 1005 Label::Distance dst = Label::kFar); |
1006 | 1006 |
1007 void LoadUint32(XMMRegister dst, Register src, XMMRegister scratch); | 1007 void LoadUint32(XMMRegister dst, Register src); |
1008 | 1008 |
1009 void LoadInstanceDescriptors(Register map, Register descriptors); | 1009 void LoadInstanceDescriptors(Register map, Register descriptors); |
1010 void EnumLength(Register dst, Register map); | 1010 void EnumLength(Register dst, Register map); |
1011 void NumberOfOwnDescriptors(Register dst, Register map); | 1011 void NumberOfOwnDescriptors(Register dst, Register map); |
1012 | 1012 |
1013 template<typename Field> | 1013 template<typename Field> |
1014 void DecodeField(Register reg) { | 1014 void DecodeField(Register reg) { |
1015 static const int shift = Field::kShift; | 1015 static const int shift = Field::kShift; |
1016 static const int mask = Field::kMask >> Field::kShift; | 1016 static const int mask = Field::kMask >> Field::kShift; |
1017 shrp(reg, Immediate(shift)); | 1017 shrp(reg, Immediate(shift)); |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1595 masm->popfq(); \ | 1595 masm->popfq(); \ |
1596 } \ | 1596 } \ |
1597 masm-> | 1597 masm-> |
1598 #else | 1598 #else |
1599 #define ACCESS_MASM(masm) masm-> | 1599 #define ACCESS_MASM(masm) masm-> |
1600 #endif | 1600 #endif |
1601 | 1601 |
1602 } } // namespace v8::internal | 1602 } } // namespace v8::internal |
1603 | 1603 |
1604 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1604 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |