[PATCH][1/2] RISC-V: Set floating-point CSR-access instructions to alias instructions
Mel Chen
mel.chen@sifive.com
Tue Jul 30 11:57:00 GMT 2019
This patch sets floating-point CSR-access pseudoinstructions to aliases.
opcodes/
* riscv-opc.c (riscv_opcodes): Set floating-point CSR-access
instructions to alias instructions.
Set frsr, fssr, frcsr, fscsr, frrm, fsrm, fsrmi, frflags,
fsflags, fsflagsi to alias instructions.
gas/
* testsuite/gas/riscv/alias-csr.s: Add testcase for CSR-access
alias instructions.
* testsuite/gas/riscv/no-aliases-csr.d: Run testcase alias-csr.s
with -Mno-aliases.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-RISC-V-Set-floating-point-CSR-access-instructions-to.patch
Type: application/octet-stream
Size: 7164 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20190730/2453d9e3/attachment.obj>
More information about the Binutils
mailing list