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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |