Landing: d6f46102c0b9
Project / Subsystem
binutils / s390
Date
2026-10-02
Author
Jens Remus <jremus@sourceware.org>
Commit
d6f46102c0b95ed6208ff1c524b3827fdafc4b5f
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- s390
- patch_id
- —
- commit_hash
- d6f46102c0b95ed6208ff1c524b3827fdafc4b5f
- source_type
- public_inbox
- headline
- s390: Enforce register pair constraints for several instructions
- tldr
- Assembler now enforces register pair and even register constraints for s390 instructions like stpq, clclu, kimd, klmd, kmac, km, kmc, mvcl, kxbr, cmpsc, clcle,…
- author
- Jens Remus <jremus@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • s390
- • assembler
- • architecture
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-10-02T00:00:00.000Z
These commits update the s390 assembler to enforce architectural constraints on register operands for several instructions. Specifically, instructions such as stpq, clclu, kimd, klmd, kmac, km, kmc, mvcl, kxbr, cmpsc, clcle, and clclu now correctly validate that their register operands are either register pairs or even-numbered registers as required by the s390 architecture. This prevents the generation of incorrect machine code and ensures adherence to the hardware’s specifications.