https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104188
--- Comment #10 from Zbynek Vyskovsky ---
Thanks for quick fix!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104188
--- Comment #4 from Zbynek Vyskovsky ---
Sure, the code:
#include
#ifndef NO_VECTORIZE
#ifdef __x86_64__
#include
#include
#endif
#ifdef __aarch64__
#include
#endif
#endif
typedef union Mat44 {
float m[4][4];
#ifndef NO_VECTORIZE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104188
--- Comment #2 from Zbynek Vyskovsky ---
> {1to16} says to broadcast from first element to all 16.
The vbroadcastf32x4 is supposed to copy first four elmenents to 4-7, 8-11 and
12-15 .
> Why do you think this is wrong code?
It doesn't work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104188
Bug ID: 104188
Summary: gcc omitting AVX-512 broadcast instruction
Product: gcc
Version: 11.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tar