mmx: work around some clang <= 11 bugs on POWER9
These were causing ICEs prior to clang-12 on POWER9 when compiled
without optimizitaion. Here is a trivial reproducer:
typedef short i16x4 __attribute__((__vector_size__(8)));
i16x4 shr(i16x4 v, long n) {
return v >> n;
}
AFAICT the problem has been fixed in clang-12, though I haven't
bothered to track down a bug report, git commit, phabricator review,
etc. so no SIMDE_BUG_* macro.
Showing
Please register or sign in to comment