RISC-V: Add the Zihpm and Zicntr extensions
These extensions were recently frozen [1]. As per Andrew's post [2] we're meant to ignore these in software, this just adds them to the list of allowed extensions and otherwise ignores them. I added these under SPEC_CLASS_NONE even though the PDF lists them as 20190614 because it seems pointless to add another spec class just to accept two extensions we then ignore. 1: https://groups.google.com/a/groups.riscv.org/g/isa-dev/c/HZGoqP1eyps/m/GTNKRLJoAQAJ 2: https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/QKjQhChrq9Q/m/7gqdkctgAgAJ gcc/ChangeLog * common/config/riscv/riscv-common.cc: Add Zihpm and Zicnttr extensions.
This commit is contained in:
parent
5a22bb250d
commit
730a801f95
1 changed files with 3 additions and 0 deletions
|
@ -279,6 +279,9 @@ static const struct riscv_ext_version riscv_ext_version_table[] =
|
|||
{"zicbom",ISA_SPEC_CLASS_NONE, 1, 0},
|
||||
{"zicbop",ISA_SPEC_CLASS_NONE, 1, 0},
|
||||
|
||||
{"zicntr", ISA_SPEC_CLASS_NONE, 2, 0},
|
||||
{"zihpm", ISA_SPEC_CLASS_NONE, 2, 0},
|
||||
|
||||
{"zk", ISA_SPEC_CLASS_NONE, 1, 0},
|
||||
{"zkn", ISA_SPEC_CLASS_NONE, 1, 0},
|
||||
{"zks", ISA_SPEC_CLASS_NONE, 1, 0},
|
||||
|
|
Loading…
Add table
Reference in a new issue