Landing: c97767d71630

Project / Subsystem

gcc / gcc/s390

Date

2026-05-01

Author

Stefan Schulze Frielinghaus

Commit

c97767d716303fd74aa8a5aa4c3a5c4aea8c9d99

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/s390
patch_id
commit_hash
c97767d716303fd74aa8a5aa4c3a5c4aea8c9d99
source_type
github
headline
Add HF vector mode support to s390 secondary reload
tldr
This commit adds support for handling HF vector modes in the s390 backend's secondary reload mechanism.
author
Stefan Schulze Frielinghaus
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • s390
  • vectorization
  • half-float
  • code generation
discussion_id_link
bugzilla_pr
date
2026-05-01T00:00:00.000Z

This commit extends the s390 backend to properly handle HF (Half-Floating-point) vector modes during secondary reloads. Secondary reloads are needed for instructions that cannot accept relative operands. Without this change, the compiler could generate incorrect code when dealing with HF vectors, leading to runtime errors or unexpected behavior.