Landing: 64d982984a07

Project / Subsystem

gcc / gcc/risc-v

Date

2026-05-13

Author

Robin Dapp

Commit

64d982984a07105adf028689623c41005b400bdb

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/risc-v
patch_id
commit_hash
64d982984a07105adf028689623c41005b400bdb
source_type
github
headline
RISC-V: Avoid late splitting of 64-bit vector extracts on 32-bit targets.
tldr
GCC now avoids emitting 64-bit vector extracts on 32-bit RISC-V targets, fixing a compilation failure.
author
Robin Dapp
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gcc
  • risc-v
  • vectorization
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-05-13T00:00:00.000Z

When compiling for 32-bit RISC-V, GCC was emitting 64-bit vector extracts that could not be split late in the compilation process, leading to a compilation failure. This commit modifies the riscv_legitimize_move function to emit 32-bit vector extracts directly, avoiding the need for late splitting and resolving the issue.