Landing: 5da2ddf4ef8d

Project / Subsystem

gcc / aarch64

Date

2026-02-06

Author

Alfie Richards

Commit

5da2ddf4ef8d949b848dd84acc3e6118d19889d0

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
commit_hash
5da2ddf4ef8d949b848dd84acc3e6118d19889d0
source_type
github
headline
Aarch64: Add support for range prefetch intrinsic
tldr
GCC now supports new AArch64 intrinsics for range prefetching, allowing better memory access optimization.
author
Alfie Richards
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • aarch64
  • performance
  • intrinsics
  • optimization
  • memory
discussion_id_link
bugzilla_pr
date
2026-02-06T00:00:00.000Z

This commit adds support for new AArch64 intrinsics, __pld_range and __pldx_range, which enable range prefetching. These intrinsics allow developers to tell the processor to prefetch a specified range of memory into the cache, potentially improving performance by reducing memory access latency. The change includes adding new builtins, expanding their functionality, and defining new unspec operations in the aarch64.md file, along with a new macro __ARM_PREFETCH_RANGE for conditional compilation.