https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89021
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-01-24
Ever confirmed|0 |1
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Richard Biener from comment #2)
> I think that to avoid surprises -mno-mmx should be the default on x86 and
> thus
> MMX code would need to explicitely supply -mmmx. Would that work around the
> issue or would we see odd errors when using the mm intrinsics?
That sounds right. We can even vectorize
void
foo (char* restrict r, char* restrict a){
for (int i = 0; i < 8; i++){
r[i] += a[i];
}
}