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

Side by Side Diff: src/compiler/ppc/instruction-scheduler-ppc.cc

Issue 1680833002: PPC: [turbofan] Add RoundUint32ToFloat32 operator to Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 months 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 | « src/compiler/ppc/instruction-codes-ppc.h ('k') | src/compiler/ppc/instruction-selector-ppc.cc » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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/instruction-scheduler.h" 5 #include "src/compiler/instruction-scheduler.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 namespace compiler { 9 namespace compiler {
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 case kPPC_ExtendSignWord16: 76 case kPPC_ExtendSignWord16:
77 case kPPC_ExtendSignWord32: 77 case kPPC_ExtendSignWord32:
78 case kPPC_Uint32ToUint64: 78 case kPPC_Uint32ToUint64:
79 case kPPC_Int64ToInt32: 79 case kPPC_Int64ToInt32:
80 case kPPC_Int64ToFloat32: 80 case kPPC_Int64ToFloat32:
81 case kPPC_Int64ToDouble: 81 case kPPC_Int64ToDouble:
82 case kPPC_Uint64ToFloat32: 82 case kPPC_Uint64ToFloat32:
83 case kPPC_Uint64ToDouble: 83 case kPPC_Uint64ToDouble:
84 case kPPC_Int32ToFloat32: 84 case kPPC_Int32ToFloat32:
85 case kPPC_Int32ToDouble: 85 case kPPC_Int32ToDouble:
86 case kPPC_Uint32ToFloat32:
86 case kPPC_Uint32ToDouble: 87 case kPPC_Uint32ToDouble:
87 case kPPC_Float32ToDouble: 88 case kPPC_Float32ToDouble:
88 case kPPC_DoubleToInt32: 89 case kPPC_DoubleToInt32:
89 case kPPC_DoubleToUint32: 90 case kPPC_DoubleToUint32:
90 case kPPC_DoubleToInt64: 91 case kPPC_DoubleToInt64:
91 case kPPC_DoubleToUint64: 92 case kPPC_DoubleToUint64:
92 case kPPC_DoubleToFloat32: 93 case kPPC_DoubleToFloat32:
93 case kPPC_DoubleExtractLowWord32: 94 case kPPC_DoubleExtractLowWord32:
94 case kPPC_DoubleExtractHighWord32: 95 case kPPC_DoubleExtractHighWord32:
95 case kPPC_DoubleInsertLowWord32: 96 case kPPC_DoubleInsertLowWord32:
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 136
136 137
137 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { 138 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) {
138 // TODO(all): Add instruction cost modeling. 139 // TODO(all): Add instruction cost modeling.
139 return 1; 140 return 1;
140 } 141 }
141 142
142 } // namespace compiler 143 } // namespace compiler
143 } // namespace internal 144 } // namespace internal
144 } // namespace v8 145 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/instruction-codes-ppc.h ('k') | src/compiler/ppc/instruction-selector-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698