MONDAY, AUGUST 10, 2026
gas — Proposed
gas: Fix support for AL condition in Thumb-2 IT instruction
Reviewer Christophe Lyon requests additional comments on Brendan Fletcher's patch for Thumb-2 IT instruction handling.
Christophe Lyon has reviewed Brendan Fletcher’s patch that aims to fix support for the AL condition in Thumb-2 IT instructions within GAS. While the patch is generally well-received, Lyon requests that Fletcher add more comments to the code for better understanding.
In the Thread
- proposer
Requests additional comments on the patch for Thumb-2 IT instruction handling.
“It generally looks good, but I'd like to request you to add a few comments, see below:”
- reviewer
Submitted a patch to fix support for the AL condition in Thumb-2 IT instructions.
“Using the AL condition in the IT instruction is designed to allow encoding unconditional 16-bit instructions which do not affect flags. GAS currently allows specifying the AL condition, but rejects any following unconditional instructions because they are not considered to be part of an IT block. This change makes unconditional instructions allowed inside a manually-specified IT AL block. Note,…”