| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 case kX64BitcastFI: | 118 case kX64BitcastFI: |
| 119 case kX64BitcastDL: | 119 case kX64BitcastDL: |
| 120 case kX64BitcastIF: | 120 case kX64BitcastIF: |
| 121 case kX64BitcastLD: | 121 case kX64BitcastLD: |
| 122 case kX64Lea32: | 122 case kX64Lea32: |
| 123 case kX64Lea: | 123 case kX64Lea: |
| 124 case kX64Dec32: | 124 case kX64Dec32: |
| 125 case kX64Inc32: | 125 case kX64Inc32: |
| 126 case kX64Int32x4Create: | 126 case kX64Int32x4Create: |
| 127 case kX64Int32x4ExtractLane: | 127 case kX64Int32x4ExtractLane: |
| 128 case kX64Int32x4ReplaceLane: |
| 129 case kX64Int32x4Add: |
| 130 case kX64Int32x4Sub: |
| 128 return (instr->addressing_mode() == kMode_None) | 131 return (instr->addressing_mode() == kMode_None) |
| 129 ? kNoOpcodeFlags | 132 ? kNoOpcodeFlags |
| 130 : kIsLoadOperation | kHasSideEffect; | 133 : kIsLoadOperation | kHasSideEffect; |
| 131 | 134 |
| 132 case kX64Idiv: | 135 case kX64Idiv: |
| 133 case kX64Idiv32: | 136 case kX64Idiv32: |
| 134 case kX64Udiv: | 137 case kX64Udiv: |
| 135 case kX64Udiv32: | 138 case kX64Udiv32: |
| 136 return (instr->addressing_mode() == kMode_None) | 139 return (instr->addressing_mode() == kMode_None) |
| 137 ? kMayNeedDeoptCheck | 140 ? kMayNeedDeoptCheck |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 case kArchTruncateDoubleToI: | 265 case kArchTruncateDoubleToI: |
| 263 return 6; | 266 return 6; |
| 264 default: | 267 default: |
| 265 return 1; | 268 return 1; |
| 266 } | 269 } |
| 267 } | 270 } |
| 268 | 271 |
| 269 } // namespace compiler | 272 } // namespace compiler |
| 270 } // namespace internal | 273 } // namespace internal |
| 271 } // namespace v8 | 274 } // namespace v8 |
| OLD | NEW |