http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58044
Bug ID: 58044
Summary: -mno-see2avx does not seems to work
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: inline-asm
Assignee: unassigned at gcc dot gnu.org
Reporter: jerome.pouiller at gmail dot com
Created attachment 30581
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30581&action=edit
Test case
It looks like gcc alway translate sse instruction in avx instruction whatever
the use of option -mno-see2avx.
If you compile attached tests case with
gcc -Wall -mtune=generic -mavx2 intrinsics.c -o avx.out
and with
gcc -Wall -mtune=generic -mavx2 -mno-sse2avx intrinsics.c -o noavx.out
the assembly is the same. Maybe I do something wrong?
--
Jérôme Pouiller