[PATCH 3/6] aarch64: use an enumeration for operand indices.

Richard Earnshaw (lists) Richard.Earnshaw@arm.com
Mon Jul 21 16:03:30 GMT 2025


On 18/07/2025 16:16, Alice Carlotti wrote:
> On Fri, Jul 18, 2025 at 11:03:58AM +0100, Richard Earnshaw wrote:
>> -/* Generate aarch64_insert_operand in C to the standard output.  */
>> +#define OPN_PFX_ENUM "AARCH64_OPND_"
> 
> I don't think this define improves clarity, and there are so many existing uses
> of the enum names that it doesn't make it any easier to rename either.  So I'd
> favour inlining this value into each use.
> 
> LGTM with that change.

Fixed in next version.

R.


More information about the Binutils mailing list