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 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ | 5 #ifndef V8_CALL_INTERFACE_DESCRIPTOR_H_ |
6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ | 6 #define V8_CALL_INTERFACE_DESCRIPTOR_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 V(CallFunctionWithFeedback) \ | 40 V(CallFunctionWithFeedback) \ |
41 V(CallFunctionWithFeedbackAndVector) \ | 41 V(CallFunctionWithFeedbackAndVector) \ |
42 V(CallConstruct) \ | 42 V(CallConstruct) \ |
43 V(CallTrampoline) \ | 43 V(CallTrampoline) \ |
44 V(ConstructStub) \ | 44 V(ConstructStub) \ |
45 V(ConstructTrampoline) \ | 45 V(ConstructTrampoline) \ |
46 V(RegExpConstructResult) \ | 46 V(RegExpConstructResult) \ |
47 V(TransitionElementsKind) \ | 47 V(TransitionElementsKind) \ |
48 V(AllocateHeapNumber) \ | 48 V(AllocateHeapNumber) \ |
49 V(AllocateMutableHeapNumber) \ | 49 V(AllocateMutableHeapNumber) \ |
| 50 V(AllocateFloat32x4) \ |
| 51 V(AllocateInt32x4) \ |
| 52 V(AllocateUint32x4) \ |
| 53 V(AllocateBool32x4) \ |
| 54 V(AllocateInt16x8) \ |
| 55 V(AllocateUint16x8) \ |
| 56 V(AllocateBool16x8) \ |
| 57 V(AllocateInt8x16) \ |
| 58 V(AllocateUint8x16) \ |
| 59 V(AllocateBool8x16) \ |
50 V(AllocateInNewSpace) \ | 60 V(AllocateInNewSpace) \ |
51 V(ArrayConstructorConstantArgCount) \ | 61 V(ArrayConstructorConstantArgCount) \ |
52 V(ArrayConstructor) \ | 62 V(ArrayConstructor) \ |
53 V(InternalArrayConstructorConstantArgCount) \ | 63 V(InternalArrayConstructorConstantArgCount) \ |
54 V(InternalArrayConstructor) \ | 64 V(InternalArrayConstructor) \ |
55 V(Compare) \ | 65 V(Compare) \ |
56 V(BinaryOp) \ | 66 V(BinaryOp) \ |
57 V(BinaryOpWithAllocationSite) \ | 67 V(BinaryOpWithAllocationSite) \ |
58 V(StringAdd) \ | 68 V(StringAdd) \ |
59 V(StringCompare) \ | 69 V(StringCompare) \ |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 public: | 554 public: |
545 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) | 555 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) |
546 }; | 556 }; |
547 | 557 |
548 | 558 |
549 class AllocateHeapNumberDescriptor : public CallInterfaceDescriptor { | 559 class AllocateHeapNumberDescriptor : public CallInterfaceDescriptor { |
550 public: | 560 public: |
551 DECLARE_DESCRIPTOR(AllocateHeapNumberDescriptor, CallInterfaceDescriptor) | 561 DECLARE_DESCRIPTOR(AllocateHeapNumberDescriptor, CallInterfaceDescriptor) |
552 }; | 562 }; |
553 | 563 |
| 564 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 565 class Allocate##Type##Descriptor : public CallInterfaceDescriptor { \ |
| 566 public: \ |
| 567 DECLARE_DESCRIPTOR(Allocate##Type##Descriptor, CallInterfaceDescriptor) \ |
| 568 }; |
| 569 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 570 #undef SIMD128_ALLOC_DESC |
554 | 571 |
555 class AllocateMutableHeapNumberDescriptor : public CallInterfaceDescriptor { | 572 class AllocateMutableHeapNumberDescriptor : public CallInterfaceDescriptor { |
556 public: | 573 public: |
557 DECLARE_DESCRIPTOR(AllocateMutableHeapNumberDescriptor, | 574 DECLARE_DESCRIPTOR(AllocateMutableHeapNumberDescriptor, |
558 CallInterfaceDescriptor) | 575 CallInterfaceDescriptor) |
559 }; | 576 }; |
560 | 577 |
561 | 578 |
562 class AllocateInNewSpaceDescriptor : public CallInterfaceDescriptor { | 579 class AllocateInNewSpaceDescriptor : public CallInterfaceDescriptor { |
563 public: | 580 public: |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 } // namespace v8 | 831 } // namespace v8 |
815 | 832 |
816 | 833 |
817 #if V8_TARGET_ARCH_ARM64 | 834 #if V8_TARGET_ARCH_ARM64 |
818 #include "src/arm64/interface-descriptors-arm64.h" | 835 #include "src/arm64/interface-descriptors-arm64.h" |
819 #elif V8_TARGET_ARCH_ARM | 836 #elif V8_TARGET_ARCH_ARM |
820 #include "src/arm/interface-descriptors-arm.h" | 837 #include "src/arm/interface-descriptors-arm.h" |
821 #endif | 838 #endif |
822 | 839 |
823 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 840 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |