[PATCH] D112408: [WIP][RISCV] Add the zve extension according to the v1.0-rc2 spec
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 26 11:54:40 PDT 2021
craig.topper added inline comments.
================
Comment at: clang/lib/Basic/Targets/RISCV.cpp:184
Builder.defineMacro("__riscv_v_min_vlen", Twine(MinVLen));
+ Builder.defineMacro("__riscv_v_max_eew", Twine(MaxEew));
+ Builder.defineMacro("__riscv_v_max_eew_fp", Twine(MaxEewFp));
----------------
khchen wrote:
> craig.topper wrote:
> > Would't ELEN be the correct term here? Not EEW.
> https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#182-zve-vector-extensions-for-embedded-processors shows zve* extensions have `Supported EEW`, I guess it's why the term is `EEW`.
>
>
Is that because that section talks about them as a set of values rather than a single maximum?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112408/new/
https://reviews.llvm.org/D112408
More information about the cfe-commits
mailing list