| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 case kPPC_BitcastFloat32ToInt32: | 106 case kPPC_BitcastFloat32ToInt32: |
| 107 case kPPC_BitcastInt64ToDouble: | 107 case kPPC_BitcastInt64ToDouble: |
| 108 case kPPC_BitcastDoubleToInt64: | 108 case kPPC_BitcastDoubleToInt64: |
| 109 return kNoOpcodeFlags; | 109 return kNoOpcodeFlags; |
| 110 | 110 |
| 111 case kPPC_LoadWordS8: | 111 case kPPC_LoadWordS8: |
| 112 case kPPC_LoadWordU8: | 112 case kPPC_LoadWordU8: |
| 113 case kPPC_LoadWordS16: | 113 case kPPC_LoadWordS16: |
| 114 case kPPC_LoadWordU16: | 114 case kPPC_LoadWordU16: |
| 115 case kPPC_LoadWordS32: | 115 case kPPC_LoadWordS32: |
| 116 case kPPC_LoadWordU32: |
| 116 case kPPC_LoadWord64: | 117 case kPPC_LoadWord64: |
| 117 case kPPC_LoadFloat32: | 118 case kPPC_LoadFloat32: |
| 118 case kPPC_LoadDouble: | 119 case kPPC_LoadDouble: |
| 119 return kIsLoadOperation; | 120 return kIsLoadOperation; |
| 120 | 121 |
| 121 case kPPC_StoreWord8: | 122 case kPPC_StoreWord8: |
| 122 case kPPC_StoreWord16: | 123 case kPPC_StoreWord16: |
| 123 case kPPC_StoreWord32: | 124 case kPPC_StoreWord32: |
| 124 case kPPC_StoreWord64: | 125 case kPPC_StoreWord64: |
| 125 case kPPC_StoreFloat32: | 126 case kPPC_StoreFloat32: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 142 | 143 |
| 143 | 144 |
| 144 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 145 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |
| 145 // TODO(all): Add instruction cost modeling. | 146 // TODO(all): Add instruction cost modeling. |
| 146 return 1; | 147 return 1; |
| 147 } | 148 } |
| 148 | 149 |
| 149 } // namespace compiler | 150 } // namespace compiler |
| 150 } // namespace internal | 151 } // namespace internal |
| 151 } // namespace v8 | 152 } // namespace v8 |
| OLD | NEW |