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

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

Issue 1628133002: [turbofan] Add RoundUint32ToFloat32 operator to Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add arm/arm64 implementation 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
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 case kSSEFloat64Abs: 58 case kSSEFloat64Abs:
59 case kSSEFloat64Neg: 59 case kSSEFloat64Neg:
60 case kSSEFloat64Sqrt: 60 case kSSEFloat64Sqrt:
61 case kSSEFloat64Round: 61 case kSSEFloat64Round:
62 case kSSEFloat32ToFloat64: 62 case kSSEFloat32ToFloat64:
63 case kSSEFloat64ToFloat32: 63 case kSSEFloat64ToFloat32:
64 case kSSEFloat32ToInt32: 64 case kSSEFloat32ToInt32:
65 case kSSEFloat64ToInt32: 65 case kSSEFloat64ToInt32:
66 case kSSEFloat64ToUint32: 66 case kSSEFloat64ToUint32:
67 case kSSEInt32ToFloat32: 67 case kSSEInt32ToFloat32:
68 case kSSEUint32ToFloat32:
68 case kSSEInt32ToFloat64: 69 case kSSEInt32ToFloat64:
69 case kSSEUint32ToFloat64: 70 case kSSEUint32ToFloat64:
70 case kSSEFloat64ExtractLowWord32: 71 case kSSEFloat64ExtractLowWord32:
71 case kSSEFloat64ExtractHighWord32: 72 case kSSEFloat64ExtractHighWord32:
72 case kSSEFloat64InsertLowWord32: 73 case kSSEFloat64InsertLowWord32:
73 case kSSEFloat64InsertHighWord32: 74 case kSSEFloat64InsertHighWord32:
74 case kSSEFloat64LoadLowWord32: 75 case kSSEFloat64LoadLowWord32:
75 case kAVXFloat32Add: 76 case kAVXFloat32Add:
76 case kAVXFloat32Sub: 77 case kAVXFloat32Sub:
77 case kAVXFloat32Mul: 78 case kAVXFloat32Mul:
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 129
129 130
130 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { 131 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) {
131 // TODO(all): Add instruction cost modeling. 132 // TODO(all): Add instruction cost modeling.
132 return 1; 133 return 1;
133 } 134 }
134 135
135 } // namespace compiler 136 } // namespace compiler
136 } // namespace internal 137 } // namespace internal
137 } // namespace v8 138 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-codes-ia32.h ('k') | src/compiler/ia32/instruction-selector-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698