Landing: 32e8e523a917

Project / Subsystem

gcc / risc-v

Date

2026-07-09

Author

Jim Lin

Commit

32e8e523a917b95763aa020645e221651f43b575

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
risc-v
patch_id
commit_hash
32e8e523a917b95763aa020645e221651f43b575
source_type
github
headline
RISC-V: Correctly gate memcpy threshold in vector block move
tldr
Fixes RISC-V vector block move to use the correct memcpy threshold, resolving incorrect activation of memcpy path.
author
Jim Lin
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • risc-v
  • optimization
  • vector
discussion_id_link
bugzilla_pr
date
2026-07-09T00:00:00.000Z

A bug in the RISC-V vector block move implementation has been fixed, ensuring that the memcpy path is correctly gated by the riscv_memcpy_size_threshold. Previously, this threshold was incorrectly gated by riscv_memmove_size_threshold, leading to the memcpy path only being honored under specific, unrelated conditions related to memmove settings.