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 kSSEFloat32Abs: | 54 case kSSEFloat32Abs: |
55 case kSSEFloat32Neg: | 55 case kSSEFloat32Neg: |
56 case kSSEFloat32Sqrt: | 56 case kSSEFloat32Sqrt: |
57 case kSSEFloat32Round: | 57 case kSSEFloat32Round: |
58 case kSSEFloat64Cmp: | 58 case kSSEFloat64Cmp: |
59 case kSSEFloat64Add: | 59 case kSSEFloat64Add: |
60 case kSSEFloat64Sub: | 60 case kSSEFloat64Sub: |
61 case kSSEFloat64Mul: | 61 case kSSEFloat64Mul: |
62 case kSSEFloat64Div: | 62 case kSSEFloat64Div: |
63 case kSSEFloat64Mod: | 63 case kSSEFloat64Mod: |
| 64 case kSSEFloat32Max: |
64 case kSSEFloat64Max: | 65 case kSSEFloat64Max: |
| 66 case kSSEFloat32Min: |
65 case kSSEFloat64Min: | 67 case kSSEFloat64Min: |
66 case kSSEFloat64Abs: | 68 case kSSEFloat64Abs: |
67 case kSSEFloat64Neg: | 69 case kSSEFloat64Neg: |
68 case kSSEFloat64Sqrt: | 70 case kSSEFloat64Sqrt: |
69 case kSSEFloat64Round: | 71 case kSSEFloat64Round: |
70 case kSSEFloat32ToFloat64: | 72 case kSSEFloat32ToFloat64: |
71 case kSSEFloat64ToFloat32: | 73 case kSSEFloat64ToFloat32: |
72 case kSSEFloat32ToInt32: | 74 case kSSEFloat32ToInt32: |
73 case kSSEFloat32ToUint32: | 75 case kSSEFloat32ToUint32: |
74 case kSSEFloat64ToInt32: | 76 case kSSEFloat64ToInt32: |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 | 142 |
141 | 143 |
142 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 144 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
143 // TODO(all): Add instruction cost modeling. | 145 // TODO(all): Add instruction cost modeling. |
144 return 1; | 146 return 1; |
145 } | 147 } |
146 | 148 |
147 } // namespace compiler | 149 } // namespace compiler |
148 } // namespace internal | 150 } // namespace internal |
149 } // namespace v8 | 151 } // namespace v8 |
OLD | NEW |