[PATCH] D58932: [RISCV] Allow access to FP CSRs without F extension
Ana Pazos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 15:39:35 PST 2019
apazos created this revision.
Herald added subscribers: jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb.
Floating-point CSRs should be accessible even when F extension is not enabled.
RISC-V spec is pending update to reflect this behavior. GNU tools already implement this behavior.
https://reviews.llvm.org/D58932
Files:
lib/Target/RISCV/RISCVInstrInfo.td
lib/Target/RISCV/RISCVInstrInfoF.td
lib/Target/RISCV/RISCVSystemOperands.td
test/MC/RISCV/csr-aliases.s
test/MC/RISCV/rv32-user-csr-names.s
test/MC/RISCV/rv32i-valid.s
test/MC/RISCV/rvf-user-csr-names.s
test/MC/RISCV/user-csr-names-invalid.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58932.189221.patch
Type: text/x-patch
Size: 13814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190304/626959e0/attachment.bin>
More information about the llvm-commits
mailing list