OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/base/bits.h" | 5 #include "src/base/bits.h" |
6 #include "src/compiler/instruction-selector-impl.h" | 6 #include "src/compiler/instruction-selector-impl.h" |
7 #include "src/compiler/node-matchers.h" | 7 #include "src/compiler/node-matchers.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 case kArmLdrh: | 66 case kArmLdrh: |
67 case kArmLdrsh: | 67 case kArmLdrsh: |
68 case kArmStrh: | 68 case kArmStrh: |
69 return value >= -255 && value <= 255; | 69 return value >= -255 && value <= 255; |
70 | 70 |
71 case kArchCallCodeObject: | 71 case kArchCallCodeObject: |
72 case kArchCallJSFunction: | 72 case kArchCallJSFunction: |
73 case kArchJmp: | 73 case kArchJmp: |
74 case kArchNop: | 74 case kArchNop: |
75 case kArchRet: | 75 case kArchRet: |
| 76 case kArchStackPointer: |
76 case kArchTruncateDoubleToI: | 77 case kArchTruncateDoubleToI: |
77 case kArmMul: | 78 case kArmMul: |
78 case kArmMla: | 79 case kArmMla: |
79 case kArmMls: | 80 case kArmMls: |
80 case kArmSdiv: | 81 case kArmSdiv: |
81 case kArmUdiv: | 82 case kArmUdiv: |
82 case kArmBfc: | 83 case kArmBfc: |
83 case kArmUbfx: | 84 case kArmUbfx: |
84 case kArmVcmpF64: | 85 case kArmVcmpF64: |
85 case kArmVaddF64: | 86 case kArmVaddF64: |
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
957 } else { | 958 } else { |
958 DCHECK(cont->IsSet()); | 959 DCHECK(cont->IsSet()); |
959 Emit(cont->Encode(kArmVcmpF64), g.DefineAsRegister(cont->result()), | 960 Emit(cont->Encode(kArmVcmpF64), g.DefineAsRegister(cont->result()), |
960 g.UseRegister(m.left().node()), g.UseRegister(m.right().node())); | 961 g.UseRegister(m.left().node()), g.UseRegister(m.right().node())); |
961 } | 962 } |
962 } | 963 } |
963 | 964 |
964 } // namespace compiler | 965 } // namespace compiler |
965 } // namespace internal | 966 } // namespace internal |
966 } // namespace v8 | 967 } // namespace v8 |
OLD | NEW |