RE: [PATCH v3] x86: make better use of VBROADCASTSS / VPBROADCASTD

2023-07-10 Thread Liu, Hongtao via Gcc-patches
> -Original Message- > From: Jan Beulich > Sent: Tuesday, July 11, 2023 2:04 PM > To: gcc-patches@gcc.gnu.org > Cc: Kirill Yukhin ; Liu, Hongtao > > Subject: [PATCH v3] x86: make better use of VBROADCASTSS / > VPBROADCASTD > > ... in vec_dupv4sf

[PATCH v3] x86: make better use of VBROADCASTSS / VPBROADCASTD

2023-07-10 Thread Jan Beulich via Gcc-patches
... in vec_dupv4sf / *vec_dupv4si. The respective broadcast insns are never longer (yet sometimes shorter) than the corresponding VSHUFPS / VPSHUFD, due to the immediate operand of the shuffle insns balancing the (uniform) need for VEX3 in the broadcast ones. When EVEX encoding is respective the br