RISC-V: Add support for the Zifencei extension

fence.i has been split out of the base ISA as part of the ratification
process.  This patch adds a Zifencei argument, which disables the
fence.i instruction.

Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
Palmer Dabbelt 2019-06-24 01:59:05 -07:00
parent 0a13a5b856
commit 50fba816cd
No known key found for this signature in database
GPG key ID: EF4CA1502CCBAB41
4 changed files with 9 additions and 0 deletions

View file

@ -223,6 +223,7 @@ typedef struct RISCVCPU {
bool ext_s;
bool ext_u;
bool ext_counters;
bool ext_ifencei;
char *priv_spec;
char *user_spec;