On 11/8/22 20:00, Palmer Dabbelt wrote:
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.

So the idea here is just to define the extension so that it gets defined in the ISA strings and passed through to the assembler, right?

Jeff

Reply via email to