| 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 __ CallCFunction(ExternalReference::mod_two_doubles_operation(isolate()), | 356 __ CallCFunction(ExternalReference::mod_two_doubles_operation(isolate()), |
| 357 0, 2); | 357 0, 2); |
| 358 // Move the result in the double result register. | 358 // Move the result in the double result register. |
| 359 __ MovFromFloatResult(i.OutputFloat64Register()); | 359 __ MovFromFloatResult(i.OutputFloat64Register()); |
| 360 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 360 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 361 break; | 361 break; |
| 362 } | 362 } |
| 363 case kArmVsqrtF64: | 363 case kArmVsqrtF64: |
| 364 __ vsqrt(i.OutputFloat64Register(), i.InputFloat64Register(0)); | 364 __ vsqrt(i.OutputFloat64Register(), i.InputFloat64Register(0)); |
| 365 break; | 365 break; |
| 366 case kArmVfloorF64: |
| 367 __ vrintm(i.OutputFloat64Register(), i.InputFloat64Register(0)); |
| 368 break; |
| 369 case kArmVceilF64: |
| 370 __ vrintp(i.OutputFloat64Register(), i.InputFloat64Register(0)); |
| 371 break; |
| 372 case kArmVroundTruncateF64: |
| 373 __ vrintz(i.OutputFloat64Register(), i.InputFloat64Register(0)); |
| 374 break; |
| 375 case kArmVroundTiesAwayF64: |
| 376 __ vrinta(i.OutputFloat64Register(), i.InputFloat64Register(0)); |
| 377 break; |
| 366 case kArmVnegF64: | 378 case kArmVnegF64: |
| 367 __ vneg(i.OutputFloat64Register(), i.InputFloat64Register(0)); | 379 __ vneg(i.OutputFloat64Register(), i.InputFloat64Register(0)); |
| 368 break; | 380 break; |
| 369 case kArmVcvtF32F64: { | 381 case kArmVcvtF32F64: { |
| 370 __ vcvt_f32_f64(i.OutputFloat32Register(), i.InputFloat64Register(0)); | 382 __ vcvt_f32_f64(i.OutputFloat32Register(), i.InputFloat64Register(0)); |
| 371 DCHECK_EQ(LeaveCC, i.OutputSBit()); | 383 DCHECK_EQ(LeaveCC, i.OutputSBit()); |
| 372 break; | 384 break; |
| 373 } | 385 } |
| 374 case kArmVcvtF64F32: { | 386 case kArmVcvtF64F32: { |
| 375 __ vcvt_f64_f32(i.OutputFloat64Register(), i.InputFloat32Register(0)); | 387 __ vcvt_f64_f32(i.OutputFloat64Register(), i.InputFloat32Register(0)); |
| (...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 } | 942 } |
| 931 } | 943 } |
| 932 MarkLazyDeoptSite(); | 944 MarkLazyDeoptSite(); |
| 933 } | 945 } |
| 934 | 946 |
| 935 #undef __ | 947 #undef __ |
| 936 | 948 |
| 937 } // namespace compiler | 949 } // namespace compiler |
| 938 } // namespace internal | 950 } // namespace internal |
| 939 } // namespace v8 | 951 } // namespace v8 |
| OLD | NEW |