[libre-riscv-dev] [isa-dev] Re: Vector Operations Extension (cross, dot, length, lerp, slerp)

Jacob Lifshay programmerjake at gmail.com
Mon Oct 7 06:36:37 BST 2019


On Sat, Oct 5, 2019 at 2:39 AM lkcl <luke.leighton at gmail.com> wrote:
>
> http://bugs.libre-riscv.org/show_bug.cgi?id=142
> (Tracking this extension here)
>
> Found a paper which describes vector normalisation in terms of dotproduct, scalar recipsqrt and then scalar-vector fmul.

Yeah, that's the standard procedure.

> With VLENGTH being also expressible as dotproduct followed by scalar sqrt, is it reasonable to have both normalisation as well as VLENGTH as macro op fused sequences?

I would think so, though I can't say for sure.

Jacob



More information about the libre-riscv-dev mailing list