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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 V(CallFunctionWithFeedback) \ | 44 V(CallFunctionWithFeedback) \ |
45 V(CallFunctionWithFeedbackAndVector) \ | 45 V(CallFunctionWithFeedbackAndVector) \ |
46 V(CallConstruct) \ | 46 V(CallConstruct) \ |
47 V(CallTrampoline) \ | 47 V(CallTrampoline) \ |
48 V(ConstructStub) \ | 48 V(ConstructStub) \ |
49 V(ConstructTrampoline) \ | 49 V(ConstructTrampoline) \ |
50 V(RegExpConstructResult) \ | 50 V(RegExpConstructResult) \ |
51 V(TransitionElementsKind) \ | 51 V(TransitionElementsKind) \ |
52 V(AllocateHeapNumber) \ | 52 V(AllocateHeapNumber) \ |
53 V(AllocateMutableHeapNumber) \ | 53 V(AllocateMutableHeapNumber) \ |
| 54 V(AllocateFloat32x4) \ |
| 55 V(AllocateInt32x4) \ |
| 56 V(AllocateUint32x4) \ |
| 57 V(AllocateBool32x4) \ |
| 58 V(AllocateInt16x8) \ |
| 59 V(AllocateUint16x8) \ |
| 60 V(AllocateBool16x8) \ |
| 61 V(AllocateInt8x16) \ |
| 62 V(AllocateUint8x16) \ |
| 63 V(AllocateBool8x16) \ |
54 V(AllocateInNewSpace) \ | 64 V(AllocateInNewSpace) \ |
55 V(ArrayConstructorConstantArgCount) \ | 65 V(ArrayConstructorConstantArgCount) \ |
56 V(ArrayConstructor) \ | 66 V(ArrayConstructor) \ |
57 V(InternalArrayConstructorConstantArgCount) \ | 67 V(InternalArrayConstructorConstantArgCount) \ |
58 V(InternalArrayConstructor) \ | 68 V(InternalArrayConstructor) \ |
59 V(Compare) \ | 69 V(Compare) \ |
60 V(CompareNil) \ | 70 V(CompareNil) \ |
61 V(ToBoolean) \ | 71 V(ToBoolean) \ |
62 V(BinaryOp) \ | 72 V(BinaryOp) \ |
63 V(BinaryOpWithAllocationSite) \ | 73 V(BinaryOpWithAllocationSite) \ |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 public: | 578 public: |
569 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) | 579 DECLARE_DESCRIPTOR(TransitionElementsKindDescriptor, CallInterfaceDescriptor) |
570 }; | 580 }; |
571 | 581 |
572 | 582 |
573 class AllocateHeapNumberDescriptor : public CallInterfaceDescriptor { | 583 class AllocateHeapNumberDescriptor : public CallInterfaceDescriptor { |
574 public: | 584 public: |
575 DECLARE_DESCRIPTOR(AllocateHeapNumberDescriptor, CallInterfaceDescriptor) | 585 DECLARE_DESCRIPTOR(AllocateHeapNumberDescriptor, CallInterfaceDescriptor) |
576 }; | 586 }; |
577 | 587 |
| 588 #define SIMD128_ALLOC_DESC(TYPE, Type, type, lane_count, lane_type) \ |
| 589 class Allocate##Type##Descriptor : public CallInterfaceDescriptor { \ |
| 590 public: \ |
| 591 DECLARE_DESCRIPTOR(Allocate##Type##Descriptor, CallInterfaceDescriptor) \ |
| 592 }; |
| 593 SIMD128_TYPES(SIMD128_ALLOC_DESC) |
| 594 #undef SIMD128_ALLOC_DESC |
578 | 595 |
579 class AllocateMutableHeapNumberDescriptor : public CallInterfaceDescriptor { | 596 class AllocateMutableHeapNumberDescriptor : public CallInterfaceDescriptor { |
580 public: | 597 public: |
581 DECLARE_DESCRIPTOR(AllocateMutableHeapNumberDescriptor, | 598 DECLARE_DESCRIPTOR(AllocateMutableHeapNumberDescriptor, |
582 CallInterfaceDescriptor) | 599 CallInterfaceDescriptor) |
583 }; | 600 }; |
584 | 601 |
585 | 602 |
586 class AllocateInNewSpaceDescriptor : public CallInterfaceDescriptor { | 603 class AllocateInNewSpaceDescriptor : public CallInterfaceDescriptor { |
587 public: | 604 public: |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 } // namespace v8 | 808 } // namespace v8 |
792 | 809 |
793 | 810 |
794 #if V8_TARGET_ARCH_ARM64 | 811 #if V8_TARGET_ARCH_ARM64 |
795 #include "src/arm64/interface-descriptors-arm64.h" | 812 #include "src/arm64/interface-descriptors-arm64.h" |
796 #elif V8_TARGET_ARCH_ARM | 813 #elif V8_TARGET_ARCH_ARM |
797 #include "src/arm/interface-descriptors-arm.h" | 814 #include "src/arm/interface-descriptors-arm.h" |
798 #endif | 815 #endif |
799 | 816 |
800 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ | 817 #endif // V8_CALL_INTERFACE_DESCRIPTOR_H_ |
OLD | NEW |