Landing: 39bd248d09bc

Project / Subsystem

binutils / s390

Date

2026-10-02

Author

Jens Remus <jremus@sourceware.org>

Commit

39bd248d09bc41172cf56ea6e9002458d999597f

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
s390
patch_id
—
commit_hash
39bd248d09bc41172cf56ea6e9002458d999597f
source_type
public_inbox
headline
s390: clcl instruction requires register pairs for operands
tldr
Ensures that the CLCL instruction on s390 uses register pairs for its operands, as required by the architecture.
author
Jens Remus <jremus@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • s390
  • • assembler
  • • instruction format
discussion_id_link
—
bugzilla_pr
—
date
2026-10-02T00:00:00.000Z

The CLCL instruction on s390 requires its R1 and R2 operands to designate even-odd pairs of general registers. This commit enforces this requirement by updating the instruction format and adding tests to verify correct operand usage. It prevents specification exceptions that could occur if non-even registers were used.