Re: [x86 PATCH] Add AVX512 support for STV of SI/DImode rotation by constant.

2023-07-09 Thread Uros Bizjak via Gcc-patches
On Sun, Jul 9, 2023 at 10:35 PM Roger Sayle wrote: > > > Following Uros' suggestion, this patch adds support for AVX512VL's > vpro[lr][dq] instructions to the recently added scalar-to-vector (STV) > enhancements to handle DImode and SImode rotations by a constant. > > For the test cases: > > unsig

[x86 PATCH] Add AVX512 support for STV of SI/DImode rotation by constant.

2023-07-09 Thread Roger Sayle
Following Uros' suggestion, this patch adds support for AVX512VL's vpro[lr][dq] instructions to the recently added scalar-to-vector (STV) enhancements to handle DImode and SImode rotations by a constant. For the test cases: unsigned long long rot1(unsigned long long x) { return (x>>1) | (x<<63