Landing: d58044c97ef8

Project / Subsystem

gcc / gcc/risc-v

Date

2026-04-28

Author

Jiawei

Commit

d58044c97ef8b5ecd490fd897fa086028053e4a2

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/risc-v
patch_id
commit_hash
d58044c97ef8b5ecd490fd897fa086028053e4a2
source_type
github
headline
RISC-V: Support Zalasr extension.
tldr
GCC now supports the RISC-V Zalasr extension for load-acquire/store-release operations, improving synchronization primitives.
author
Jiawei
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • risc-v
  • zalasr
  • extension
  • atomic operations
discussion_id_link
bugzilla_pr
date
2026-04-28T00:00:00.000Z

This commit adds support for the RISC-V Zalasr extension, which introduces new instructions for load-acquire and store-release operations. This extension provides more efficient synchronization primitives for multithreaded programming. The patch includes updates to the compiler, documentation, and testsuite to incorporate the new extension.