Landing: 14911d6c9524
Project / Subsystem
gcc / gcc/x86
Date
2026-08-24
Author
H.J. Lu
Commit
14911d6c952456a252764a44f9dea21bd4af914d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/x86
- patch_id
- —
- commit_hash
- 14911d6c952456a252764a44f9dea21bd4af914d
- source_type
- github
- headline
- x86: Scan both round[sp][ds] and vrndscale[sp][ds] in round tests
- tldr
- Test suite now checks for both round and vrndscale instructions when AVX512 is enabled.
- author
- H.J. Lu
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • x86
- • testsuite
- • avx512
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-24T00:00:00.000Z
The x86 test suite was failing because it expected specific rounding instructions like ‘roundss’ but encountered ‘vrndscaless’ when AVX512 was enabled by default. This commit updates the test suite to scan for both ‘round[sp][ds]’ and ‘vrndscale[sp][ds]’ instructions. This ensures that the tests correctly identify the generated assembly regardless of which specific rounding instruction is used, preventing false positives in the test results.