Landing: 2e722bc990f8

Project / Subsystem

gcc / vect

Date

2026-08-12

Author

Tamar Christina

Commit

2e722bc990f8a64ad80e2f6a565ef1d5f206a7e0

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
vect
patch_id
—
commit_hash
2e722bc990f8a64ad80e2f6a565ef1d5f206a7e0
source_type
github
headline
vect: Restrict complex multiplication commutative validation
tldr
Temporarily restricts vectorization of complex multiplications to avoid incorrect code generation due to operand swapping issues.
author
Tamar Christina
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • vect
  • • optimization
  • • complex numbers
discussion_id_link
—
bugzilla_pr
—
date
2026-08-12T00:00:00.000Z

This commit temporarily restricts the vect_validate_multiplication_commutative function to only four forms. This is a precautionary measure because flipping the operands of a complex multiplication can change the sign of the result, requiring an adjustment operation that the current GCC trunk cannot yet handle. By limiting the scope, the patch prevents incorrect code generation that arose from backporting changes from a complex numbers branch.