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

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

Issue 1583323004: [turbofan] Add the TruncateFloat32ToInt32 operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed a small bug 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/x64/instruction-codes-x64.h ('k') | src/compiler/x64/instruction-selector-x64.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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 case kSSEFloat64Mul: 72 case kSSEFloat64Mul:
73 case kSSEFloat64Div: 73 case kSSEFloat64Div:
74 case kSSEFloat64Mod: 74 case kSSEFloat64Mod:
75 case kSSEFloat64Abs: 75 case kSSEFloat64Abs:
76 case kSSEFloat64Neg: 76 case kSSEFloat64Neg:
77 case kSSEFloat64Sqrt: 77 case kSSEFloat64Sqrt:
78 case kSSEFloat64Round: 78 case kSSEFloat64Round:
79 case kSSEFloat64Max: 79 case kSSEFloat64Max:
80 case kSSEFloat64Min: 80 case kSSEFloat64Min:
81 case kSSEFloat64ToFloat32: 81 case kSSEFloat64ToFloat32:
82 case kSSEFloat32ToInt32:
82 case kSSEFloat64ToInt32: 83 case kSSEFloat64ToInt32:
83 case kSSEFloat64ToUint32: 84 case kSSEFloat64ToUint32:
84 case kSSEFloat64ToInt64: 85 case kSSEFloat64ToInt64:
85 case kSSEFloat32ToInt64: 86 case kSSEFloat32ToInt64:
86 case kSSEFloat64ToUint64: 87 case kSSEFloat64ToUint64:
87 case kSSEFloat32ToUint64: 88 case kSSEFloat32ToUint64:
88 case kSSEInt32ToFloat64: 89 case kSSEInt32ToFloat64:
89 case kSSEInt64ToFloat32: 90 case kSSEInt64ToFloat32:
90 case kSSEInt64ToFloat64: 91 case kSSEInt64ToFloat64:
91 case kSSEUint64ToFloat32: 92 case kSSEUint64ToFloat32:
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 174
174 175
175 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { 176 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) {
176 // TODO(all): Add instruction cost modeling. 177 // TODO(all): Add instruction cost modeling.
177 return 1; 178 return 1;
178 } 179 }
179 180
180 } // namespace compiler 181 } // namespace compiler
181 } // namespace internal 182 } // namespace internal
182 } // namespace v8 183 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/x64/instruction-codes-x64.h ('k') | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698