[PATCH 09/23] aarch64: Replace inst.base.operands[i]. with info->

Project / Subsystem

binutils / aarch64

Date

2026-05-07

Proposer

Alice Carlotti <alice.carlotti@arm.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Improved code readability and maintainability.
  • No performance impact.

All attributes

project
binutils
subsystem
aarch64
patch_id
discussion_id
54ad2177-8b3c-5845-ef14-ca086e36a4b4@e124511.cambridge.arm.com
source_type
public_inbox
title
[PATCH 09/23] aarch64: Replace inst.base.operands[i]. with info->
headline
Aarch64: Replace inst.base.operands[i]. with info->
tldr
Shortens code in `parse_operands` by using `info->` instead of `inst.base.operands[i].` where possible, as `info` is a pointer to the latter.
proposer
Alice Carlotti <alice.carlotti@arm.com>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Improved code readability and maintainability.
  • No performance impact.
series_id
binutils:aarch64: replace inst.base.operands[i]. with info->
series_role
reply
series_parts
[]
tags
  • aarch64
  • assembler
  • refactoring
  • readability
bugzilla_url
date
2026-05-07T00:00:00.000Z

[PATCH 09/23] aarch64: Replace inst.base.operands[i]. with info->

This patch refactors the parse_operands function in the AArch64 assembler to use the info-> pointer, which points to inst.base.operands[i], instead of the longer form inst.base.operands[i]. directly. This change simplifies the code and improves readability, without altering functionality.