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

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

Issue 1589363002: [turbofan] Add the RoundInt32ToFloat32 operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 case kPPC_Tst64: 74 case kPPC_Tst64:
75 case kPPC_ExtendSignWord8: 75 case kPPC_ExtendSignWord8:
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_Int32ToDouble: 85 case kPPC_Int32ToDouble:
85 case kPPC_Uint32ToDouble: 86 case kPPC_Uint32ToDouble:
86 case kPPC_Float32ToDouble: 87 case kPPC_Float32ToDouble:
87 case kPPC_DoubleToInt32: 88 case kPPC_DoubleToInt32:
88 case kPPC_DoubleToUint32: 89 case kPPC_DoubleToUint32:
89 case kPPC_DoubleToInt64: 90 case kPPC_DoubleToInt64:
90 case kPPC_DoubleToUint64: 91 case kPPC_DoubleToUint64:
91 case kPPC_DoubleToFloat32: 92 case kPPC_DoubleToFloat32:
92 case kPPC_DoubleExtractLowWord32: 93 case kPPC_DoubleExtractLowWord32:
93 case kPPC_DoubleExtractHighWord32: 94 case kPPC_DoubleExtractHighWord32:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 135
135 136
136 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { 137 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) {
137 // TODO(all): Add instruction cost modeling. 138 // TODO(all): Add instruction cost modeling.
138 return 1; 139 return 1;
139 } 140 }
140 141
141 } // namespace compiler 142 } // namespace compiler
142 } // namespace internal 143 } // namespace internal
143 } // namespace v8 144 } // 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