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/arm64/frames-arm64.h" | 7 #include "src/arm64/frames-arm64.h" |
8 #include "src/arm64/macro-assembler-arm64.h" | 8 #include "src/arm64/macro-assembler-arm64.h" |
9 #include "src/compiler/code-generator-impl.h" | 9 #include "src/compiler/code-generator-impl.h" |
10 #include "src/compiler/gap-resolver.h" | 10 #include "src/compiler/gap-resolver.h" |
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 break; | 908 break; |
909 case kArm64Float64ToInt32: | 909 case kArm64Float64ToInt32: |
910 __ Fcvtzs(i.OutputRegister32(), i.InputDoubleRegister(0)); | 910 __ Fcvtzs(i.OutputRegister32(), i.InputDoubleRegister(0)); |
911 break; | 911 break; |
912 case kArm64Float64ToUint32: | 912 case kArm64Float64ToUint32: |
913 __ Fcvtzu(i.OutputRegister32(), i.InputDoubleRegister(0)); | 913 __ Fcvtzu(i.OutputRegister32(), i.InputDoubleRegister(0)); |
914 break; | 914 break; |
915 case kArm64Int32ToFloat64: | 915 case kArm64Int32ToFloat64: |
916 __ Scvtf(i.OutputDoubleRegister(), i.InputRegister32(0)); | 916 __ Scvtf(i.OutputDoubleRegister(), i.InputRegister32(0)); |
917 break; | 917 break; |
| 918 case kArm64Int64ToFloat32: |
| 919 __ Scvtf(i.OutputDoubleRegister().S(), i.InputRegister64(0)); |
| 920 break; |
918 case kArm64Int64ToFloat64: | 921 case kArm64Int64ToFloat64: |
919 __ Scvtf(i.OutputDoubleRegister(), i.InputRegister64(0)); | 922 __ Scvtf(i.OutputDoubleRegister(), i.InputRegister64(0)); |
920 break; | 923 break; |
921 case kArm64Uint32ToFloat64: | 924 case kArm64Uint32ToFloat64: |
922 __ Ucvtf(i.OutputDoubleRegister(), i.InputRegister32(0)); | 925 __ Ucvtf(i.OutputDoubleRegister(), i.InputRegister32(0)); |
923 break; | 926 break; |
924 case kArm64Float64ExtractLowWord32: | 927 case kArm64Float64ExtractLowWord32: |
925 __ Fmov(i.OutputRegister32(), i.InputFloat32Register(0)); | 928 __ Fmov(i.OutputRegister32(), i.InputFloat32Register(0)); |
926 break; | 929 break; |
927 case kArm64Float64ExtractHighWord32: | 930 case kArm64Float64ExtractHighWord32: |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1463 padding_size -= kInstructionSize; | 1466 padding_size -= kInstructionSize; |
1464 } | 1467 } |
1465 } | 1468 } |
1466 } | 1469 } |
1467 | 1470 |
1468 #undef __ | 1471 #undef __ |
1469 | 1472 |
1470 } // namespace compiler | 1473 } // namespace compiler |
1471 } // namespace internal | 1474 } // namespace internal |
1472 } // namespace v8 | 1475 } // namespace v8 |
OLD | NEW |