[llvm-dev] Questions about vscale
Roger Ferrer Ibáñez via llvm-dev
llvm-dev at lists.llvm.org
Tue Apr 7 23:08:59 PDT 2020
Hi Chris,
> I guess my original point about vscale being an integer still stands
> though. If VLEN / ELEN is computed using integer arithmetic, then the
> result rounded towards 0 is 0. Unless we make floating point vscale a
> thing, it should be impossible for vscale to be fractional.
>
I forgot to mention that, as the spec stands now, VLEN and ELEN are powers
of two and ELEN <= VLEN, so ELEN should always evenly divide VLEN (this
would make 1 the minimum "runtime" value of vscale if we define vscale =
VLEN / ELEN).
Kind regards,
--
Roger Ferrer Ibáñez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200408/898aab08/attachment.html>
More information about the llvm-dev
mailing list