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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 case kX64Popcnt32: | 60 case kX64Popcnt32: |
61 case kSSEFloat32Cmp: | 61 case kSSEFloat32Cmp: |
62 case kSSEFloat32Add: | 62 case kSSEFloat32Add: |
63 case kSSEFloat32Sub: | 63 case kSSEFloat32Sub: |
64 case kSSEFloat32Mul: | 64 case kSSEFloat32Mul: |
65 case kSSEFloat32Div: | 65 case kSSEFloat32Div: |
66 case kSSEFloat32Abs: | 66 case kSSEFloat32Abs: |
67 case kSSEFloat32Neg: | 67 case kSSEFloat32Neg: |
68 case kSSEFloat32Sqrt: | 68 case kSSEFloat32Sqrt: |
69 case kSSEFloat32Round: | 69 case kSSEFloat32Round: |
70 case kSSEFloat32Max: | |
71 case kSSEFloat32Min: | |
72 case kSSEFloat32ToFloat64: | 70 case kSSEFloat32ToFloat64: |
73 case kSSEFloat64Cmp: | 71 case kSSEFloat64Cmp: |
74 case kSSEFloat64Add: | 72 case kSSEFloat64Add: |
75 case kSSEFloat64Sub: | 73 case kSSEFloat64Sub: |
76 case kSSEFloat64Mul: | 74 case kSSEFloat64Mul: |
77 case kSSEFloat64Div: | 75 case kSSEFloat64Div: |
78 case kSSEFloat64Mod: | 76 case kSSEFloat64Mod: |
79 case kSSEFloat64Abs: | 77 case kSSEFloat64Abs: |
80 case kSSEFloat64Neg: | 78 case kSSEFloat64Neg: |
81 case kSSEFloat64Sqrt: | 79 case kSSEFloat64Sqrt: |
(...skipping 21 matching lines...) Expand all Loading... |
103 case kSSEFloat64ExtractHighWord32: | 101 case kSSEFloat64ExtractHighWord32: |
104 case kSSEFloat64InsertLowWord32: | 102 case kSSEFloat64InsertLowWord32: |
105 case kSSEFloat64InsertHighWord32: | 103 case kSSEFloat64InsertHighWord32: |
106 case kSSEFloat64LoadLowWord32: | 104 case kSSEFloat64LoadLowWord32: |
107 case kSSEFloat64SilenceNaN: | 105 case kSSEFloat64SilenceNaN: |
108 case kAVXFloat32Cmp: | 106 case kAVXFloat32Cmp: |
109 case kAVXFloat32Add: | 107 case kAVXFloat32Add: |
110 case kAVXFloat32Sub: | 108 case kAVXFloat32Sub: |
111 case kAVXFloat32Mul: | 109 case kAVXFloat32Mul: |
112 case kAVXFloat32Div: | 110 case kAVXFloat32Div: |
113 case kAVXFloat32Max: | |
114 case kAVXFloat32Min: | |
115 case kAVXFloat64Cmp: | 111 case kAVXFloat64Cmp: |
116 case kAVXFloat64Add: | 112 case kAVXFloat64Add: |
117 case kAVXFloat64Sub: | 113 case kAVXFloat64Sub: |
118 case kAVXFloat64Mul: | 114 case kAVXFloat64Mul: |
119 case kAVXFloat64Div: | 115 case kAVXFloat64Div: |
120 case kAVXFloat64Max: | |
121 case kAVXFloat64Min: | |
122 case kAVXFloat64Abs: | 116 case kAVXFloat64Abs: |
123 case kAVXFloat64Neg: | 117 case kAVXFloat64Neg: |
124 case kAVXFloat32Abs: | 118 case kAVXFloat32Abs: |
125 case kAVXFloat32Neg: | 119 case kAVXFloat32Neg: |
126 case kX64BitcastFI: | 120 case kX64BitcastFI: |
127 case kX64BitcastDL: | 121 case kX64BitcastDL: |
128 case kX64BitcastIF: | 122 case kX64BitcastIF: |
129 case kX64BitcastLD: | 123 case kX64BitcastLD: |
130 case kX64Lea32: | 124 case kX64Lea32: |
131 case kX64Lea: | 125 case kX64Lea: |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 181 |
188 | 182 |
189 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 183 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
190 // TODO(all): Add instruction cost modeling. | 184 // TODO(all): Add instruction cost modeling. |
191 return 1; | 185 return 1; |
192 } | 186 } |
193 | 187 |
194 } // namespace compiler | 188 } // namespace compiler |
195 } // namespace internal | 189 } // namespace internal |
196 } // namespace v8 | 190 } // namespace v8 |
OLD | NEW |