This patch implies zicsr for svade and svadu extensions.
According to the riscv-privileged spec, the svade and svadu extensions
are privileged instructions, so they should imply zicsr.
gcc/ChangeLog:
* config/riscv/riscv-ext.def: Imply zicsr.
/* FULL_NAME */ "Hardware Updating of A/D Bits extension",
/* DESC */ "",
/* URL */ ,
- /* DEP_EXTS */ ({}),
+ /* DEP_EXTS */ ({"zicsr"}),
/* SUPPORTED_VERSIONS */ ({{1, 0}}),
/* FLAG_GROUP */ sv,
/* BITMASK_GROUP_ID */ BITMASK_NOT_YET_ALLOCATED,
/* FULL_NAME */ "Cause exception when hardware updating of A/D bits is disabled",
/* DESC */ "",
/* URL */ ,
- /* DEP_EXTS */ ({}),
+ /* DEP_EXTS */ ({"zicsr"}),
/* SUPPORTED_VERSIONS */ ({{1, 0}}),
/* FLAG_GROUP */ sv,
/* BITMASK_GROUP_ID */ BITMASK_NOT_YET_ALLOCATED,