[PATCH 1/2][GCC] arm: Move arm_simd_info array declaration into header

Murray Steele Murray.Steele@arm.com
Wed Nov 24 12:15:06 GMT 2021


On 18/11/2021 15:40, Richard Earnshaw wrote:
> 
> 
> On 16/11/2021 10:14, Murray Steele via Gcc-patches wrote:
>> Hi all,
>>
>> This patch moves the arm_simd_type and arm_type_qualifiers enums, and
>> arm_simd_info struct from arm-builtins.c into arm-builtins.h header.
>>
>> This is a first step towards internalising the type definitions for MVE
>> predicate, vector, and tuple types.  By moving arm_simd_types into a
>> header, we allow future patches to use these type trees externally to
>> arm-builtins.c, which is a crucial step towards developing an MVE
>> intrinsics framework similar to the current SVE implementation.
>>
>> Thanks,
>> Murray
>>
>> gcc/ChangeLog:
>>
>>     * config/arm/arm-builtins.c (enum arm_type_qualifiers): Move to
>>     arm_builtins.h
>>     (enum arm_simd_type): Move to arm-builtins.h
>>     (struct arm_simd_type_info): Move to arm-builtins.h
>>     * config/arm/arm-builtins.h (enum arm_simd_type): Move from
>>     arm-builtins.c
>>     (enum arm_type_qualifiers): Move from arm-builtins.c
>>     (struct arm_simd_type_info): Move from arm-builtins.c
>>
>>
>>
> 
> OK.
> 
> R.

Hi Richard,

I don't currently have write access, so I will need this patch committed on my behalf.

Thanks again,
Murray


More information about the Gcc-patches mailing list