[Bug c/88679] New: SSE2 intrinsics are available by default on x86
bugzilla@poradnik-webmastera.com
gcc-bugzilla@gcc.gnu.org
Thu Jan 3 17:05:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88679
Bug ID: 88679
Summary: SSE2 intrinsics are available by default on x86
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: bugzilla@poradnik-webmastera.com
Target Milestone: ---
SSE2 intrinsics are available by default when compiling code for 32-bit x86.
Code below compiles fine with options -m32 -O3. I had to add -mno-sse2 to get
an error.
Fortunately __SSE2__ is not defined by default, so code can rely on it.
[code]
#include <immintrin.h>
void test(__m128i const* m)
{
__m128i v = _mm_load_si128(m);
}
[/code]
More information about the Gcc-bugs
mailing list