Landing: cc1ca3c60f20

Project / Subsystem

gcc / gcc/vectorization

Date

2026-04-28

Author

Richard Biener

Commit

cc1ca3c60f20621565dffa6c64a5105c10e8b894

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/vectorization
patch_id
commit_hash
cc1ca3c60f20621565dffa6c64a5105c10e8b894
source_type
github
headline
Adjust x86 strided vectorization tests for cost comparison.
tldr
Strided vectorization tests in GCC are updated with explicit cost comparison flags and adjusted code generation expectations.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gcc
  • vectorization
  • x86
  • testing
discussion_id_link
bugzilla_pr
date
2026-04-28T00:00:00.000Z

The gcc.target/i386/vect-strided-?.c tests have been modified with explicit cost comparison settings. Variants with cost comparison disabled are retained, while new variants (-?b.c) enable cost comparison and adjust expected code generation accordingly. This allows for testing the vectorizer’s behavior when cost comparison influences the choice between V2SImode and V4SImode with shuffles.