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/assembler-arm64-inl.h" | 7 #include "src/arm64/assembler-arm64-inl.h" |
8 #include "src/arm64/frames-arm64.h" | 8 #include "src/arm64/frames-arm64.h" |
9 #include "src/arm64/macro-assembler-arm64-inl.h" | 9 #include "src/arm64/macro-assembler-arm64-inl.h" |
10 #include "src/compilation-info.h" | 10 #include "src/compilation-info.h" |
(...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1184 break; | 1184 break; |
1185 case kArm64Sxtw: | 1185 case kArm64Sxtw: |
1186 __ Sxtw(i.OutputRegister(), i.InputRegister32(0)); | 1186 __ Sxtw(i.OutputRegister(), i.InputRegister32(0)); |
1187 break; | 1187 break; |
1188 case kArm64Sbfx32: | 1188 case kArm64Sbfx32: |
1189 __ Sbfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), | 1189 __ Sbfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), |
1190 i.InputInt5(2)); | 1190 i.InputInt5(2)); |
1191 break; | 1191 break; |
1192 case kArm64Ubfx: | 1192 case kArm64Ubfx: |
1193 __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt6(1), | 1193 __ Ubfx(i.OutputRegister(), i.InputRegister(0), i.InputInt6(1), |
1194 i.InputInt6(2)); | 1194 i.InputInt32(2)); |
1195 break; | 1195 break; |
1196 case kArm64Ubfx32: | 1196 case kArm64Ubfx32: |
1197 __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), | 1197 __ Ubfx(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), |
1198 i.InputInt5(2)); | 1198 i.InputInt32(2)); |
1199 break; | 1199 break; |
1200 case kArm64Ubfiz32: | 1200 case kArm64Ubfiz32: |
1201 __ Ubfiz(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), | 1201 __ Ubfiz(i.OutputRegister32(), i.InputRegister32(0), i.InputInt5(1), |
1202 i.InputInt5(2)); | 1202 i.InputInt5(2)); |
1203 break; | 1203 break; |
1204 case kArm64Bfi: | 1204 case kArm64Bfi: |
1205 __ Bfi(i.OutputRegister(), i.InputRegister(1), i.InputInt6(2), | 1205 __ Bfi(i.OutputRegister(), i.InputRegister(1), i.InputInt6(2), |
1206 i.InputInt6(3)); | 1206 i.InputInt6(3)); |
1207 break; | 1207 break; |
1208 case kArm64TestAndBranch32: | 1208 case kArm64TestAndBranch32: |
(...skipping 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2250 padding_size -= kInstructionSize; | 2250 padding_size -= kInstructionSize; |
2251 } | 2251 } |
2252 } | 2252 } |
2253 } | 2253 } |
2254 | 2254 |
2255 #undef __ | 2255 #undef __ |
2256 | 2256 |
2257 } // namespace compiler | 2257 } // namespace compiler |
2258 } // namespace internal | 2258 } // namespace internal |
2259 } // namespace v8 | 2259 } // namespace v8 |
OLD | NEW |