Re: 回复：[RISC-V] [tech-vector-ext] RISC-V Vector Spec version 1.0-rc1-20210608
Roger Ferrer Ibanez
I'm not sure I understood your question. I think a vid.v (with a vl
of your choice) that then you (logical) shift right 1 bit (vsrl.vi) would generate an index like
the one you have now the "index"
This looks like it does not require to hardcode any size and you don't have to load a materialised value from memory (you compute it instead).
Hope this helps.
On 11/6/21 9:22, Linjie Yu via lists.riscv.org wrote:
-- Roger Ferrer Ibáñez - roger.ferrer@... Barcelona Supercomputing Center - Centro Nacional de Supercomputación
WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received.