https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101865

--- Comment #12 from Tulio Magno Quites Machado Filho <tuliom at ascii dot 
art.br> ---
There is a chance, that my previous comment is wrong with regards the
generation of VSX instructions for Power8.

I don't know what the second command means:

$ gcc-11 -mcpu=power10 -dM -E - < /dev/null | grep -E 'VECTOR|VSX|ALTIVEC'
#define __VSX__ 1
#define __ALTIVEC__ 1
#define __POWER9_VECTOR__ 1
#define __APPLE_ALTIVEC__ 1
#define __POWER8_VECTOR__ 1
$ gcc-11 -mcpu=power10 -mno-power8-vector -dM -E - < /dev/null | grep -E
'VECTOR|VSX|ALTIVEC'
#define __VSX__ 1
#define __ALTIVEC__ 1
#define __APPLE_ALTIVEC__ 1

Reply via email to