OLD | NEW |
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 case kSSEFloat64ToUint32: | 77 case kSSEFloat64ToUint32: |
78 case kSSEInt32ToFloat32: | 78 case kSSEInt32ToFloat32: |
79 case kSSEUint32ToFloat32: | 79 case kSSEUint32ToFloat32: |
80 case kSSEInt32ToFloat64: | 80 case kSSEInt32ToFloat64: |
81 case kSSEUint32ToFloat64: | 81 case kSSEUint32ToFloat64: |
82 case kSSEFloat64ExtractLowWord32: | 82 case kSSEFloat64ExtractLowWord32: |
83 case kSSEFloat64ExtractHighWord32: | 83 case kSSEFloat64ExtractHighWord32: |
84 case kSSEFloat64InsertLowWord32: | 84 case kSSEFloat64InsertLowWord32: |
85 case kSSEFloat64InsertHighWord32: | 85 case kSSEFloat64InsertHighWord32: |
86 case kSSEFloat64LoadLowWord32: | 86 case kSSEFloat64LoadLowWord32: |
| 87 case kSSEFloat64SilenceNaN: |
87 case kAVXFloat32Add: | 88 case kAVXFloat32Add: |
88 case kAVXFloat32Sub: | 89 case kAVXFloat32Sub: |
89 case kAVXFloat32Mul: | 90 case kAVXFloat32Mul: |
90 case kAVXFloat32Div: | 91 case kAVXFloat32Div: |
91 case kAVXFloat32Max: | 92 case kAVXFloat32Max: |
92 case kAVXFloat32Min: | 93 case kAVXFloat32Min: |
93 case kAVXFloat64Add: | 94 case kAVXFloat64Add: |
94 case kAVXFloat64Sub: | 95 case kAVXFloat64Sub: |
95 case kAVXFloat64Mul: | 96 case kAVXFloat64Mul: |
96 case kAVXFloat64Div: | 97 case kAVXFloat64Div: |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 146 |
146 | 147 |
147 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 148 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
148 // TODO(all): Add instruction cost modeling. | 149 // TODO(all): Add instruction cost modeling. |
149 return 1; | 150 return 1; |
150 } | 151 } |
151 | 152 |
152 } // namespace compiler | 153 } // namespace compiler |
153 } // namespace internal | 154 } // namespace internal |
154 } // namespace v8 | 155 } // namespace v8 |
OLD | NEW |