| 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 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1088 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 1088 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
| 1089 break; | 1089 break; |
| 1090 case kPPC_Int64ToFloat32: | 1090 case kPPC_Int64ToFloat32: |
| 1091 __ ConvertInt64ToFloat(i.InputRegister(0), i.OutputDoubleRegister()); | 1091 __ ConvertInt64ToFloat(i.InputRegister(0), i.OutputDoubleRegister()); |
| 1092 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 1092 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
| 1093 break; | 1093 break; |
| 1094 case kPPC_Int64ToDouble: | 1094 case kPPC_Int64ToDouble: |
| 1095 __ ConvertInt64ToDouble(i.InputRegister(0), i.OutputDoubleRegister()); | 1095 __ ConvertInt64ToDouble(i.InputRegister(0), i.OutputDoubleRegister()); |
| 1096 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 1096 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
| 1097 break; | 1097 break; |
| 1098 case kPPC_Uint64ToDouble: |
| 1099 __ ConvertUnsignedInt64ToDouble(i.InputRegister(0), |
| 1100 i.OutputDoubleRegister()); |
| 1101 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
| 1102 break; |
| 1098 #endif | 1103 #endif |
| 1099 case kPPC_Int32ToDouble: | 1104 case kPPC_Int32ToDouble: |
| 1100 __ ConvertIntToDouble(i.InputRegister(0), i.OutputDoubleRegister()); | 1105 __ ConvertIntToDouble(i.InputRegister(0), i.OutputDoubleRegister()); |
| 1101 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 1106 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
| 1102 break; | 1107 break; |
| 1103 case kPPC_Uint32ToDouble: | 1108 case kPPC_Uint32ToDouble: |
| 1104 __ ConvertUnsignedIntToDouble(i.InputRegister(0), | 1109 __ ConvertUnsignedIntToDouble(i.InputRegister(0), |
| 1105 i.OutputDoubleRegister()); | 1110 i.OutputDoubleRegister()); |
| 1106 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 1111 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
| 1107 break; | 1112 break; |
| (...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1709 padding_size -= v8::internal::Assembler::kInstrSize; | 1714 padding_size -= v8::internal::Assembler::kInstrSize; |
| 1710 } | 1715 } |
| 1711 } | 1716 } |
| 1712 } | 1717 } |
| 1713 | 1718 |
| 1714 #undef __ | 1719 #undef __ |
| 1715 | 1720 |
| 1716 } // namespace compiler | 1721 } // namespace compiler |
| 1717 } // namespace internal | 1722 } // namespace internal |
| 1718 } // namespace v8 | 1723 } // namespace v8 |
| OLD | NEW |