public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [0/1] RISC-V: Update CSR to priv 1.11.
@ 2020-03-12  9:48 Nelson Chu
  2020-03-12  9:48 ` [PATCH] RISC-V: Update CSR to privileged spec 1.11 Nelson Chu
  0 siblings, 1 reply; 5+ messages in thread
From: Nelson Chu @ 2020-03-12  9:48 UTC (permalink / raw)
  To: binutils, jimw, andrew.burgess

Hi binutils,

RISCV priv spec 1.11 has been officially released, but the current assembler
only supports 1.9.1 and 1.10.  I update them to 1.11 in this patch, and also
arrange all gas testcases about the CSR (add new ones and remove the
duplicate/obselete ones).

Since we haven't support the version checking for CSR, there are few CSR that
are unavailable temporarily.  I record all information about them in the
include/opcode/riscv-opc.h and gas/testsuite/gas/riscv/priv-reg.s comments.
So we probably can support the unavailable ones if we have the version checking
for CSR in the future.

I will send the patch to gdb side for the approval, and also remind the qemu and
OpenOCD that it would be great if they can update the CSR to 1.11, too.

From 1.10 to 1.11,

1. 0x320 is mcountinhibit rather than mucounteren.  You can still use the
   mucounteren, but objdump will show mcountinhibit for it.

2. 0x7b2 is dscratch0 rather than dscratch, and 0x7b3 is dscratch1.  You
   can still use the old naming, but objdump will show the new one.

Thanks
Nelson


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-31  1:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12  9:48 [0/1] RISC-V: Update CSR to priv 1.11 Nelson Chu
2020-03-12  9:48 ` [PATCH] RISC-V: Update CSR to privileged spec 1.11 Nelson Chu
2020-03-12 22:26   ` Jim Wilson
2020-03-30 20:09   ` Jim Wilson
2020-03-31  1:01     ` Nelson Chu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).