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

Side by Side Diff: src/compiler/ppc/code-generator-ppc.cc

Issue 1440733002: PPC64: Implemented the RoundUint64ToFloat64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | src/compiler/ppc/instruction-codes-ppc.h » ('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 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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/compiler/ppc/instruction-codes-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698