Landing: 72cedd48e12a

Project / Subsystem

gcc / x86

Date

2026-08-24

Author

H.J. Lu

Commit

72cedd48e12af8cd500622b487de4354d61aeb24

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
x86
patch_id
—
commit_hash
72cedd48e12af8cd500622b487de4354d61aeb24
source_type
github
headline
x86: Remove SSE instructions that do not zero-extend
tldr
Removes SSE instructions from x86 target that incorrectly handled zero-extension.
author
H.J. Lu
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • x86
  • • sse
  • • optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-08-24T00:00:00.000Z

This commit removes SSE instructions from the x86 target that were incorrectly implemented. Specifically, *fix_trunc<mode>si_sse_zext and *fix_trunc<mode>si_sse_2_zext did not perform the expected zero-extension of SImode to DImode. The changes also include a new test case to verify the fix.