OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 Representation representations[] = { | 437 Representation representations[] = { |
438 Representation::Tagged(), // context | 438 Representation::Tagged(), // context |
439 Representation::Tagged(), // callee | 439 Representation::Tagged(), // callee |
440 Representation::Tagged(), // call_data | 440 Representation::Tagged(), // call_data |
441 Representation::Tagged(), // holder | 441 Representation::Tagged(), // holder |
442 Representation::External(), // api_function_address | 442 Representation::External(), // api_function_address |
443 }; | 443 }; |
444 data->Initialize(arraysize(registers), registers, representations, | 444 data->Initialize(arraysize(registers), registers, representations, |
445 &default_descriptor); | 445 &default_descriptor); |
446 } | 446 } |
| 447 |
| 448 |
| 449 void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 450 Register registers[] = { |
| 451 cp, // context |
| 452 x1, // math rounding function |
| 453 x3, // vector slot id |
| 454 }; |
| 455 Representation representations[] = { |
| 456 Representation::Tagged(), // |
| 457 Representation::Tagged(), // |
| 458 Representation::Tagged(), // |
| 459 }; |
| 460 data->Initialize(arraysize(registers), registers, representations); |
| 461 } |
447 } | 462 } |
448 } // namespace v8::internal | 463 } // namespace v8::internal |
449 | 464 |
450 #endif // V8_TARGET_ARCH_ARM64 | 465 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |