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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 case kS390_BitcastFloat32ToInt32: | 119 case kS390_BitcastFloat32ToInt32: |
120 case kS390_BitcastInt64ToDouble: | 120 case kS390_BitcastInt64ToDouble: |
121 case kS390_BitcastDoubleToInt64: | 121 case kS390_BitcastDoubleToInt64: |
122 return kNoOpcodeFlags; | 122 return kNoOpcodeFlags; |
123 | 123 |
124 case kS390_LoadWordS8: | 124 case kS390_LoadWordS8: |
125 case kS390_LoadWordU8: | 125 case kS390_LoadWordU8: |
126 case kS390_LoadWordS16: | 126 case kS390_LoadWordS16: |
127 case kS390_LoadWordU16: | 127 case kS390_LoadWordU16: |
128 case kS390_LoadWordS32: | 128 case kS390_LoadWordS32: |
| 129 case kS390_LoadWordU32: |
129 case kS390_LoadWord64: | 130 case kS390_LoadWord64: |
130 case kS390_LoadFloat32: | 131 case kS390_LoadFloat32: |
131 case kS390_LoadDouble: | 132 case kS390_LoadDouble: |
132 return kIsLoadOperation; | 133 return kIsLoadOperation; |
133 | 134 |
134 case kS390_StoreWord8: | 135 case kS390_StoreWord8: |
135 case kS390_StoreWord16: | 136 case kS390_StoreWord16: |
136 case kS390_StoreWord32: | 137 case kS390_StoreWord32: |
137 case kS390_StoreWord64: | 138 case kS390_StoreWord64: |
138 case kS390_StoreFloat32: | 139 case kS390_StoreFloat32: |
(...skipping 15 matching lines...) Expand all Loading... |
154 } | 155 } |
155 | 156 |
156 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 157 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
157 // TODO(all): Add instruction cost modeling. | 158 // TODO(all): Add instruction cost modeling. |
158 return 1; | 159 return 1; |
159 } | 160 } |
160 | 161 |
161 } // namespace compiler | 162 } // namespace compiler |
162 } // namespace internal | 163 } // namespace internal |
163 } // namespace v8 | 164 } // namespace v8 |
OLD | NEW |