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

Richard Earnshaw Richard.Earnshaw@foss.arm.com
Thu Nov 18 15:40:46 GMT 2021



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.


More information about the Gcc-patches mailing list