Landing: 5c39eb48884a

Project / Subsystem

binutils / s390

Date

2026-10-02

Author

Jens Remus <jremus@sourceware.org>

Commit

5c39eb48884aaca74bdd9214dd5f173d2d337760

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
s390
patch_id
—
commit_hash
5c39eb48884aaca74bdd9214dd5f173d2d337760
source_type
public_inbox
headline
s390: Enforce register constraints for km/kmc instructions
tldr
Assembler now enforces register constraints for s390 km and kmc instructions.
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

This commit updates the s390 assembler to enforce architectural constraints on the register operands for the km and kmc instructions. It ensures that R1 designates an even-numbered register (not 0) and R2 designates an even-odd pair of general registers (also not 0), preventing specification exceptions.