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

Side by Side Diff: src/compiler/ia32/instruction-scheduler-ia32.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
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 case kSSEFloat64Div: 54 case kSSEFloat64Div:
55 case kSSEFloat64Mod: 55 case kSSEFloat64Mod:
56 case kSSEFloat64Max: 56 case kSSEFloat64Max:
57 case kSSEFloat64Min: 57 case kSSEFloat64Min:
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 kSSEFloat64ToInt32: 65 case kSSEFloat64ToInt32:
65 case kSSEFloat64ToUint32: 66 case kSSEFloat64ToUint32:
66 case kSSEInt32ToFloat64: 67 case kSSEInt32ToFloat64:
67 case kSSEUint32ToFloat64: 68 case kSSEUint32ToFloat64:
68 case kSSEFloat64ExtractLowWord32: 69 case kSSEFloat64ExtractLowWord32:
69 case kSSEFloat64ExtractHighWord32: 70 case kSSEFloat64ExtractHighWord32:
70 case kSSEFloat64InsertLowWord32: 71 case kSSEFloat64InsertLowWord32:
71 case kSSEFloat64InsertHighWord32: 72 case kSSEFloat64InsertHighWord32:
72 case kSSEFloat64LoadLowWord32: 73 case kSSEFloat64LoadLowWord32:
73 case kAVXFloat32Add: 74 case kAVXFloat32Add:
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 127
127 128
128 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { 129 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) {
129 // TODO(all): Add instruction cost modeling. 130 // TODO(all): Add instruction cost modeling.
130 return 1; 131 return 1;
131 } 132 }
132 133
133 } // namespace compiler 134 } // namespace compiler
134 } // namespace internal 135 } // namespace internal
135 } // namespace v8 136 } // 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