| 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/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
| 6 | 6 |
| 7 #include "src/arm/macro-assembler-arm.h" | 7 #include "src/arm/macro-assembler-arm.h" |
| 8 #include "src/compiler/code-generator-impl.h" | 8 #include "src/compiler/code-generator-impl.h" |
| 9 #include "src/compiler/gap-resolver.h" | 9 #include "src/compiler/gap-resolver.h" |
| 10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 } | 241 } |
| 242 case kArmSmmul: | 242 case kArmSmmul: |
| 243 __ smmul(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1)); | 243 __ smmul(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1)); |
| 244 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 244 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 245 break; | 245 break; |
| 246 case kArmSmmla: | 246 case kArmSmmla: |
| 247 __ smmla(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1), | 247 __ smmla(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1), |
| 248 i.InputRegister(2)); | 248 i.InputRegister(2)); |
| 249 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 249 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 250 break; | 250 break; |
| 251 case kArmUmull: |
| 252 __ umull(i.OutputRegister(0), i.OutputRegister(1), i.InputRegister(0), |
| 253 i.InputRegister(1), i.OutputSBit()); |
| 254 break; |
| 251 case kArmSdiv: { | 255 case kArmSdiv: { |
| 252 CpuFeatureScope scope(masm(), SUDIV); | 256 CpuFeatureScope scope(masm(), SUDIV); |
| 253 __ sdiv(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1)); | 257 __ sdiv(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1)); |
| 254 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 258 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 255 break; | 259 break; |
| 256 } | 260 } |
| 257 case kArmUdiv: { | 261 case kArmUdiv: { |
| 258 CpuFeatureScope scope(masm(), SUDIV); | 262 CpuFeatureScope scope(masm(), SUDIV); |
| 259 __ udiv(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1)); | 263 __ udiv(i.OutputRegister(), i.InputRegister(0), i.InputRegister(1)); |
| 260 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 264 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| (...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 } | 946 } |
| 943 } | 947 } |
| 944 MarkLazyDeoptSite(); | 948 MarkLazyDeoptSite(); |
| 945 } | 949 } |
| 946 | 950 |
| 947 #undef __ | 951 #undef __ |
| 948 | 952 |
| 949 } // namespace compiler | 953 } // namespace compiler |
| 950 } // namespace internal | 954 } // namespace internal |
| 951 } // namespace v8 | 955 } // namespace v8 |
| OLD | NEW |