OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
6 | 6 |
7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" |
8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/compiler/osr.h" | 10 #include "src/compiler/osr.h" |
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1100 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 1100 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
1101 break; | 1101 break; |
1102 case kPPC_Int64ToFloat32: | 1102 case kPPC_Int64ToFloat32: |
1103 __ ConvertInt64ToFloat(i.InputRegister(0), i.OutputDoubleRegister()); | 1103 __ ConvertInt64ToFloat(i.InputRegister(0), i.OutputDoubleRegister()); |
1104 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 1104 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
1105 break; | 1105 break; |
1106 case kPPC_Int64ToDouble: | 1106 case kPPC_Int64ToDouble: |
1107 __ ConvertInt64ToDouble(i.InputRegister(0), i.OutputDoubleRegister()); | 1107 __ ConvertInt64ToDouble(i.InputRegister(0), i.OutputDoubleRegister()); |
1108 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 1108 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
1109 break; | 1109 break; |
| 1110 case kPPC_Uint64ToFloat32: |
| 1111 __ ConvertUnsignedInt64ToFloat(i.InputRegister(0), |
| 1112 i.OutputDoubleRegister()); |
| 1113 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
| 1114 break; |
1110 case kPPC_Uint64ToDouble: | 1115 case kPPC_Uint64ToDouble: |
1111 __ ConvertUnsignedInt64ToDouble(i.InputRegister(0), | 1116 __ ConvertUnsignedInt64ToDouble(i.InputRegister(0), |
1112 i.OutputDoubleRegister()); | 1117 i.OutputDoubleRegister()); |
1113 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 1118 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
1114 break; | 1119 break; |
1115 #endif | 1120 #endif |
1116 case kPPC_Int32ToDouble: | 1121 case kPPC_Int32ToDouble: |
1117 __ ConvertIntToDouble(i.InputRegister(0), i.OutputDoubleRegister()); | 1122 __ ConvertIntToDouble(i.InputRegister(0), i.OutputDoubleRegister()); |
1118 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 1123 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
1119 break; | 1124 break; |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1729 padding_size -= v8::internal::Assembler::kInstrSize; | 1734 padding_size -= v8::internal::Assembler::kInstrSize; |
1730 } | 1735 } |
1731 } | 1736 } |
1732 } | 1737 } |
1733 | 1738 |
1734 #undef __ | 1739 #undef __ |
1735 | 1740 |
1736 } // namespace compiler | 1741 } // namespace compiler |
1737 } // namespace internal | 1742 } // namespace internal |
1738 } // namespace v8 | 1743 } // namespace v8 |
OLD | NEW |