Landing: fc811192bb89

Project / Subsystem

gcc / gcc

Date

2026-05-24

Author

oltolm

Commit

fc811192bb897b3244da0d99894a3909281e3b63

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
fc811192bb897b3244da0d99894a3909281e3b63
source_type
github
headline
Add indirect alignment tests for Win64 AVX
tldr
New tests confirm correct stack alignment when passing AVX/AVX512 values indirectly on Windows.
author
oltolm
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • testsuite
  • x86-64
  • avx
  • avx512
  • windows
discussion_id_link
bugzilla_pr
date
2026-05-24T00:00:00.000Z

This commit adds new tests for x86-64 Windows to verify proper alignment of AVX and AVX512 values when passed or returned indirectly. The tests cover by-value AVX cases, hidden sret allocation, callee by-reference parameter materialization, and a dedicated aligned(64) AVX512 case. These tests expose a prior bug where GCC materialized under-aligned stack storage in these scenarios.