Landing: ed04be2c33fa

Project / Subsystem

gcc / i386

Date

2026-07-28

Author

Haochen Jiang

Commit

ed04be2c33faaf19d14521f8e6959b12a812701a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
i386
patch_id
commit_hash
ed04be2c33faaf19d14521f8e6959b12a812701a
source_type
github
headline
i386: Correct vdpbf16ps mask usage
tldr
Fixes incorrect mask usage for 512-bit vdpbf16ps instructions on i386.
author
Haochen Jiang
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • i386
  • avx512
  • optimization
  • instruction-selection
discussion_id_link
bugzilla_pr
date
2026-07-28T00:00:00.000Z

This commit corrects an issue with the 512-bit vdpbf16ps instruction on i386 architectures where it was incorrectly using a 16-bit mask, considering only the lower 8 bits due to avx512fhalfmaskmode. The fix changes the pattern to use avx512fmaskmode and removes unused iterators and patterns. 256-bit and 128-bit variants were unaffected as they correctly use 8-bit masks.