Re: [PATCH 2/5] aarch64: Don't use FEAT_MAX as array length

2024-04-10 Thread Andrew Carlotti
On Tue, Apr 09, 2024 at 04:33:10PM +0100, Richard Sandiford wrote: > Andrew Carlotti writes: > > There was an assumption in some places that the aarch64_fmv_feature_data > > array contained FEAT_MAX elements. While this assumption held up till > > now, it is safer and more flexible to use the

Re: [PATCH 2/5] aarch64: Don't use FEAT_MAX as array length

2024-04-09 Thread Richard Sandiford
Andrew Carlotti writes: > There was an assumption in some places that the aarch64_fmv_feature_data > array contained FEAT_MAX elements. While this assumption held up till > now, it is safer and more flexible to use the array size directly. > > gcc/ChangeLog: > > * config/aarch64/aarch64.cc

[PATCH 2/5] aarch64: Don't use FEAT_MAX as array length

2024-04-09 Thread Andrew Carlotti
There was an assumption in some places that the aarch64_fmv_feature_data array contained FEAT_MAX elements. While this assumption held up till now, it is safer and more flexible to use the array size directly. gcc/ChangeLog: * config/aarch64/aarch64.cc (compare_feature_masks):