Landing: 263ce2e907f7

Project / Subsystem

gcc / aarch64

Date

2026-08-02

Author

Kyrylo Tkachov

Commit

263ce2e907f72273abf246e923d7530894f25281

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
—
commit_hash
263ce2e907f72273abf246e923d7530894f25281
source_type
github
headline
Support FCCMP and FCCMPE for _Float16
tldr
GCC now supports half-precision floating-point conditional comparisons on AArch64.
author
Kyrylo Tkachov
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • aarch64
  • • floating-point
  • • arm
discussion_id_link
—
bugzilla_pr
—
date
2026-08-02T00:00:00.000Z

This commit adds support for half-precision floating-point conditional compare instructions (FCCMP and FCCMPE) on the AArch64 architecture when the FEAT_FP16 extension is available. Previously, these instructions only supported single-precision and double-precision types. The change updates the conditional-compare patterns and expansion hooks to correctly handle HFmode (_Float16) and improves code generation for comparisons involving half-precision floats. New test cases verify the functionality.