]> git.ipfire.org Git - thirdparty/gcc.git/commit
x86: slightly enhance "vec_dupv2df<mask_name>"
authorJan Beulich <jbeulich@suse.com>
Wed, 19 Jul 2023 08:11:11 +0000 (10:11 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 19 Jul 2023 08:11:11 +0000 (10:11 +0200)
commitfba96fd1b94bc9cd35302611be3ace0e21c97d6c
tree0fce31d0ccd8f1746b98f269e2b1f1cda4781d57
parentc5c7f1ef5ffcabb7dcbdc96571dbe1b0d675d4a5
x86: slightly enhance "vec_dupv2df<mask_name>"

Introduce a new alternative permitting all 32 registers to be used as
source without AVX512VL, by broadcasting to the full 512 bits in that
case. (The insn would also permit all registers to be used as
destination, but V2DFmode doesn't.)

gcc/

* config/i386/sse.md (vec_dupv2df<mask_name>): Add new AVX512F
alternative. Move AVX512VL part of condition to new "enabled"
attribute.
gcc/config/i386/sse.md