Landing: 78215710ccaf

Project / Subsystem

gcc / s390x

Date

2026-02-10

Author

Juergen Christ

Commit

78215710ccafc31fdacc2c6f3080303b5f2d1358

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
s390x
patch_id
commit_hash
78215710ccafc31fdacc2c6f3080303b5f2d1358
source_type
github
headline
s390x: Implement vec_cbranch_{all,any}
tldr
Early-exit vectorization enabled for s390x by implementing vec_cbranch instructions.
author
Juergen Christ
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • s390x
  • vectorization
  • optimization
discussion_id_link
bugzilla_pr
date
2026-02-10T00:00:00.000Z

The s390x GCC backend now implements vec_cbranch_all and vec_cbranch_any instructions, enabling early-exit vectorization. This allows the compiler to terminate vector operations as soon as a condition is met, potentially improving performance. The test suite has been adjusted to account for s390x’s limitations with variable-length vectors and basic vector load schemes.