Landing: 121691a8f8b2

Project / Subsystem

gcc / i386

Date

2026-08-07

Author

Hu, Lin1

Commit

121691a8f8b29fd0cc8bf538b5a24424607a59f6

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
i386
patch_id
—
commit_hash
121691a8f8b29fd0cc8bf538b5a24424607a59f6
source_type
github
headline
i386: Don't use VCOMX for XFmode compares
tldr
Avoids using VCOMX for XFmode compares, fixing a bug for specific floating-point comparisons.
author
Hu, Lin1
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • i386
  • • floating-point
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-08-07T00:00:00.000Z

This commit prevents the use of VCOMX for XFmode floating-point compares, addressing a bug reported in PR126676. The change restricts the use of UNSPEC_OPTCOMX to modes where VCOMX is actually available, ensuring correct behavior for these comparisons. A new test case is added to verify the fix.