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/compiler/instruction-selector-impl.h" | 5 #include "src/compiler/instruction-selector-impl.h" |
6 #include "src/compiler/node-matchers.h" | 6 #include "src/compiler/node-matchers.h" |
7 #include "src/compiler-intrinsics.h" | 7 #include "src/compiler-intrinsics.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 return value >= -4095 && value <= 4095; | 67 return value >= -4095 && value <= 4095; |
68 | 68 |
69 case kArmLoadWord16: | 69 case kArmLoadWord16: |
70 case kArmStoreWord16: | 70 case kArmStoreWord16: |
71 return value >= -255 && value <= 255; | 71 return value >= -255 && value <= 255; |
72 | 72 |
73 case kArchJmp: | 73 case kArchJmp: |
74 case kArchNop: | 74 case kArchNop: |
75 case kArchRet: | 75 case kArchRet: |
76 case kArchDeoptimize: | 76 case kArchDeoptimize: |
| 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 kArmCallCodeObject: | 85 case kArmCallCodeObject: |
85 case kArmCallJSFunction: | 86 case kArmCallJSFunction: |
86 case kArmCallAddress: | 87 case kArmCallAddress: |
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 DCHECK(cont->IsSet()); | 952 DCHECK(cont->IsSet()); |
952 Emit(cont->Encode(kArmVcmpF64), g.DefineAsRegister(cont->result()), | 953 Emit(cont->Encode(kArmVcmpF64), g.DefineAsRegister(cont->result()), |
953 g.UseDoubleRegister(m.left().node()), | 954 g.UseDoubleRegister(m.left().node()), |
954 g.UseDoubleRegister(m.right().node())); | 955 g.UseDoubleRegister(m.right().node())); |
955 } | 956 } |
956 } | 957 } |
957 | 958 |
958 } // namespace compiler | 959 } // namespace compiler |
959 } // namespace internal | 960 } // namespace internal |
960 } // namespace v8 | 961 } // namespace v8 |
OLD | NEW |