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 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 break; | 1021 break; |
1022 case kArm64Float64ToUint32: | 1022 case kArm64Float64ToUint32: |
1023 __ Fcvtzu(i.OutputRegister32(), i.InputDoubleRegister(0)); | 1023 __ Fcvtzu(i.OutputRegister32(), i.InputDoubleRegister(0)); |
1024 break; | 1024 break; |
1025 case kArm64Float32ToInt64: | 1025 case kArm64Float32ToInt64: |
1026 __ Fcvtzs(i.OutputRegister64(), i.InputFloat32Register(0)); | 1026 __ Fcvtzs(i.OutputRegister64(), i.InputFloat32Register(0)); |
1027 break; | 1027 break; |
1028 case kArm64Float64ToInt64: | 1028 case kArm64Float64ToInt64: |
1029 __ Fcvtzs(i.OutputRegister64(), i.InputDoubleRegister(0)); | 1029 __ Fcvtzs(i.OutputRegister64(), i.InputDoubleRegister(0)); |
1030 break; | 1030 break; |
| 1031 case kArm64Float32ToUint64: |
| 1032 __ Fcvtzu(i.OutputRegister64(), i.InputFloat32Register(0)); |
| 1033 break; |
1031 case kArm64Float64ToUint64: | 1034 case kArm64Float64ToUint64: |
1032 __ Fcvtzu(i.OutputRegister64(), i.InputDoubleRegister(0)); | 1035 __ Fcvtzu(i.OutputRegister64(), i.InputDoubleRegister(0)); |
1033 break; | 1036 break; |
1034 case kArm64Int32ToFloat64: | 1037 case kArm64Int32ToFloat64: |
1035 __ Scvtf(i.OutputDoubleRegister(), i.InputRegister32(0)); | 1038 __ Scvtf(i.OutputDoubleRegister(), i.InputRegister32(0)); |
1036 break; | 1039 break; |
1037 case kArm64Int64ToFloat32: | 1040 case kArm64Int64ToFloat32: |
1038 __ Scvtf(i.OutputDoubleRegister().S(), i.InputRegister64(0)); | 1041 __ Scvtf(i.OutputDoubleRegister().S(), i.InputRegister64(0)); |
1039 break; | 1042 break; |
1040 case kArm64Int64ToFloat64: | 1043 case kArm64Int64ToFloat64: |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1561 padding_size -= kInstructionSize; | 1564 padding_size -= kInstructionSize; |
1562 } | 1565 } |
1563 } | 1566 } |
1564 } | 1567 } |
1565 | 1568 |
1566 #undef __ | 1569 #undef __ |
1567 | 1570 |
1568 } // namespace compiler | 1571 } // namespace compiler |
1569 } // namespace internal | 1572 } // namespace internal |
1570 } // namespace v8 | 1573 } // namespace v8 |
OLD | NEW |