> This patch adds intrinsic and auto vectorization (vec_perm) support for > xxtvarith, which is one of XuanTie's vendor vector extensions [1]. This > extension include xt.vile (vector interleave even) and xt.vilo (vector > interleave odd) instructions, that can be used for vector permutations > like [0, 8, 2, 10, 4, 12, 6, 14]. When SEW is smaller than ELEN, a > wider SEW may be used to generate code for permutations like [0, 1, 8, > 9, 4, 5, 12, 13]. They can be useful for transpose operations in > workloads like x264. > > Note that Zvzip also has similar instructions. The same optimizations > can be applied when Zvzip becomes available. > > Regtested on rv64gcv and rv32gcv, no regression. > > [1] > https://github.com/XUANTIE-RV/thead-extension-spec/blob/master/xxtvarith.adoc
Ping.
