HomeFreeBSD

riscv: Enable the zifencei extension explicitly in -march

Description

riscv: Enable the zifencei extension explicitly in -march

clang is more tolerant and implies this extension whereas GCC is
stricter and requires it to be included.

Reviewed by: mhorne
Differential Revision: https://reviews.freebsd.org/D54965

Details

Provenance
jhbAuthored on Jan 31 2026, 5:10 PM
Reviewer
mhorne
Differential Revision
D54965: riscv: Enable the zifencei extension explicitly in -march
Parents
rGfe45651224be: stand: Add compiler builtins needed by GCC for RISC-V
Branches
Unknown
Tags
Unknown