commit | 39590abd658b9d7322ed8c54b784f00aca749e03 | [log] [tgz] |
---|---|---|
author | Tsukasa OI <research_trasio@irq.a4lg.com> | Fri Jun 24 11:51:53 2022 +0900 |
committer | Nelson Chu <nelson.chu@sifive.com> | Tue Jun 28 09:05:54 2022 +0800 |
tree | fd4a5a4a328a42de01d75bf54b4d48bc2b92e307 | |
parent | 8bddb52eb97bbfd70f95447810f69c803b01e7b7 [diff] |
RISC-V: Add new CSR feature gate handling (RV32,H) To support feature gate like Smstateen && H, this commit adds certain CSR feature gate handling. It also changes how RV32-only CSRs are handled for cleanliness. gas/ChangeLog: * config/tc-riscv.c (riscv_csr_address): Add CSR feature gate handling for H. Change handling on RV32.