| 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 24 matching lines...) Expand all  Loading... | 
|   35     case kS390_RotLeftAndClearLeft64: |   35     case kS390_RotLeftAndClearLeft64: | 
|   36     case kS390_RotLeftAndClearRight64: |   36     case kS390_RotLeftAndClearRight64: | 
|   37     case kS390_Add: |   37     case kS390_Add: | 
|   38     case kS390_AddWithOverflow32: |   38     case kS390_AddWithOverflow32: | 
|   39     case kS390_AddPair: |   39     case kS390_AddPair: | 
|   40     case kS390_AddFloat: |   40     case kS390_AddFloat: | 
|   41     case kS390_AddDouble: |   41     case kS390_AddDouble: | 
|   42     case kS390_Sub: |   42     case kS390_Sub: | 
|   43     case kS390_SubWithOverflow32: |   43     case kS390_SubWithOverflow32: | 
|   44     case kS390_SubPair: |   44     case kS390_SubPair: | 
 |   45     case kS390_MulPair: | 
|   45     case kS390_SubFloat: |   46     case kS390_SubFloat: | 
|   46     case kS390_SubDouble: |   47     case kS390_SubDouble: | 
|   47     case kS390_Mul32: |   48     case kS390_Mul32: | 
|   48     case kS390_Mul64: |   49     case kS390_Mul64: | 
|   49     case kS390_MulHigh32: |   50     case kS390_MulHigh32: | 
|   50     case kS390_MulHighU32: |   51     case kS390_MulHighU32: | 
|   51     case kS390_MulFloat: |   52     case kS390_MulFloat: | 
|   52     case kS390_MulDouble: |   53     case kS390_MulDouble: | 
|   53     case kS390_Div32: |   54     case kS390_Div32: | 
|   54     case kS390_Div64: |   55     case kS390_Div64: | 
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  153 } |  154 } | 
|  154  |  155  | 
|  155 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { |  156 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { | 
|  156   // TODO(all): Add instruction cost modeling. |  157   // TODO(all): Add instruction cost modeling. | 
|  157   return 1; |  158   return 1; | 
|  158 } |  159 } | 
|  159  |  160  | 
|  160 }  // namespace compiler |  161 }  // namespace compiler | 
|  161 }  // namespace internal |  162 }  // namespace internal | 
|  162 }  // namespace v8 |  163 }  // namespace v8 | 
| OLD | NEW |