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/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
10 #include "src/compiler/code-generator-impl.h" | 10 #include "src/compiler/code-generator-impl.h" |
(...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1141 break; | 1141 break; |
1142 case kArm64Int32ToFloat64: | 1142 case kArm64Int32ToFloat64: |
1143 __ Scvtf(i.OutputDoubleRegister(), i.InputRegister32(0)); | 1143 __ Scvtf(i.OutputDoubleRegister(), i.InputRegister32(0)); |
1144 break; | 1144 break; |
1145 case kArm64Int64ToFloat32: | 1145 case kArm64Int64ToFloat32: |
1146 __ Scvtf(i.OutputDoubleRegister().S(), i.InputRegister64(0)); | 1146 __ Scvtf(i.OutputDoubleRegister().S(), i.InputRegister64(0)); |
1147 break; | 1147 break; |
1148 case kArm64Int64ToFloat64: | 1148 case kArm64Int64ToFloat64: |
1149 __ Scvtf(i.OutputDoubleRegister(), i.InputRegister64(0)); | 1149 __ Scvtf(i.OutputDoubleRegister(), i.InputRegister64(0)); |
1150 break; | 1150 break; |
| 1151 case kArm64Uint32ToFloat32: |
| 1152 __ Ucvtf(i.OutputFloat32Register(), i.InputRegister32(0)); |
| 1153 break; |
1151 case kArm64Uint32ToFloat64: | 1154 case kArm64Uint32ToFloat64: |
1152 __ Ucvtf(i.OutputDoubleRegister(), i.InputRegister32(0)); | 1155 __ Ucvtf(i.OutputDoubleRegister(), i.InputRegister32(0)); |
1153 break; | 1156 break; |
1154 case kArm64Uint64ToFloat32: | 1157 case kArm64Uint64ToFloat32: |
1155 __ Ucvtf(i.OutputDoubleRegister().S(), i.InputRegister64(0)); | 1158 __ Ucvtf(i.OutputDoubleRegister().S(), i.InputRegister64(0)); |
1156 break; | 1159 break; |
1157 case kArm64Uint64ToFloat64: | 1160 case kArm64Uint64ToFloat64: |
1158 __ Ucvtf(i.OutputDoubleRegister(), i.InputRegister64(0)); | 1161 __ Ucvtf(i.OutputDoubleRegister(), i.InputRegister64(0)); |
1159 break; | 1162 break; |
1160 case kArm64Float64ExtractLowWord32: | 1163 case kArm64Float64ExtractLowWord32: |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1687 padding_size -= kInstructionSize; | 1690 padding_size -= kInstructionSize; |
1688 } | 1691 } |
1689 } | 1692 } |
1690 } | 1693 } |
1691 | 1694 |
1692 #undef __ | 1695 #undef __ |
1693 | 1696 |
1694 } // namespace compiler | 1697 } // namespace compiler |
1695 } // namespace internal | 1698 } // namespace internal |
1696 } // namespace v8 | 1699 } // namespace v8 |
OLD | NEW |