]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: Ssnpm, smnpm and smmpm imply zicsr.
authorDongyan Chen <chendongyan@isrc.iscas.ac.cn>
Thu, 20 Mar 2025 04:51:02 +0000 (12:51 +0800)
committerNelson Chu <nelson@rivosinc.com>
Fri, 21 Mar 2025 02:58:53 +0000 (10:58 +0800)
commitbc965121b5f02eeb52e2fc6acc94c042bb3ace02
tree9032ea2d34d00e8a14bec7f6cef4e01905d6cf37
parentf3816fbcf8ce6412ac16a820a56e13944fa703bc
RISC-V: Ssnpm, smnpm and smmpm imply zicsr.

According to the spec[1], imply zicsr for ssnpm, smnpm and smmpm.

[1] https://github.com/riscv/riscv-j-extension/blob/master/zjpm/instructions.adoc

bfd/ChangeLog:

* elfxx-riscv.c: imply zicsr.
bfd/elfxx-riscv.c