This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
Could shift by 0 on vsll/vsrl/vsra.vi be used to encode shift of 32 instead? #614
Labels
Resolve after v1.0
Does not need to be resolved for v1.0 draft
Since shifting by 0 is useless, could this encoding be used to increase the shift amount range to include 32? I believe RV128C does something similar with C.SLLI to encode a shift of 64.
This came up in a conversation about supporting SEW=64 on RV32. @Hsiangkai had a prototype patch for LLVM that used this sequence to put a 64-bit value from two scalar registers into a vector.
The text was updated successfully, but these errors were encountered: