]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: Base for complex extension implications
authorTsukasa OI <research_trasio@irq.a4lg.com>
Fri, 9 May 2025 09:34:48 +0000 (17:34 +0800)
committerNelson Chu <nelson@rivosinc.com>
Fri, 9 May 2025 09:52:47 +0000 (17:52 +0800)
commitddc654da1a84c698199ccfc2019865b57ad59582
tree9698978dd357fbf1cd80a879693edbdea8e9cde3
parent0b0e00271c2c2c90446827207288b3f67e9d3602
RISC-V: Base for complex extension implications

Thanks to the commit 48558a5e5471 ("RISC-V: Allow nested implications for
extensions"), we can write complex extension implications in theory.
However, to actually do that, we need to pass more information to
check_func.

For example, we want to imply 'Zcf' from 'F' if and only if the 'Zce'
extension is also enabled and XLEN is 32.  Passing rps is a way to
enable this.

This commit prepares for such complex extension implications.
bfd/elfxx-riscv.c