Landing: aca6b5d6eb67

Project / Subsystem

gcc / x86-64

Date

2026-08-24

Author

H.J. Lu

Commit

aca6b5d6eb67f452905fda689e39471e3f9a6fc4

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
x86-64
patch_id
—
commit_hash
aca6b5d6eb67f452905fda689e39471e3f9a6fc4
source_type
github
headline
x86-64: Correct SSE feature check for pinsrq/pextrq
tldr
Fixes SSE feature check for `pinsrq`/`pextrq` instructions on x86-64.
author
H.J. Lu
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • x86-64
  • • sse4.1
  • • instruction selection
discussion_id_link
—
bugzilla_pr
—
date
2026-08-24T00:00:00.000Z

This commit corrects a feature check for the SSE instructions pinsrq and pextrq on x86-64. Previously, the compiler incorrectly checked for the AVX feature instead of the SSE4.1 feature, which is when these instructions were introduced. This ensures that the compiler correctly identifies and utilizes these instructions.