Landing: 6e5c7b44cd29
Project / Subsystem
gcc / gcc/target/rs6000
Date
2026-08-07
Author
Michael Meissner
Commit
6e5c7b44cd2972ab8b155bf8488ee07d881d2710
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/target/rs6000
- patch_id
- —
- commit_hash
- 6e5c7b44cd2972ab8b155bf8488ee07d881d2710
- source_type
- github
- headline
- Enable vector pair load/store for memcpy on -mcpu=future
- tldr
- Optimizes memcpy and string built-ins for the 'future' PowerPC CPU by enabling vector pair load/store instructions.
- author
- Michael Meissner
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • powerpc
- • optimization
- • memcpy
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-07T00:00:00.000Z
This change enables the use of vector pair load and store instructions for optimizing memory and string built-in functions, such as memcpy, when the -mcpu=future flag is used on PowerPC. It also introduces and documents the -mblock-ops-vector-pair option, which controls this behavior and can be set by specific -mcpu values. A new test case is added to verify this functionality.