[PATCH, i386] Introduce a flag to generate only 128-bit avx instructions

Fang, Changpeng Changpeng.Fang@amd.com
Tue Mar 1 20:59:00 GMT 2011


Hi, 

 Attached is the patch that introduces a new flag, -mavx-m128-only, for gcc to have the ability
to generate only 128-bit avx instructions. This flag (default is off) helps tuning avx performance
as well as benchmarking.  

The patch passed bootstrapping on x86_64-unknown-linux-gnu with "-O3 -g -march=bdver1 
-mavx-m128-only" and the necessary correctness and performance tests.

Is it OK to commit to 4.6 trunk?

Thanks,

Changpeng
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Introduce-flag-mavx-m128-only-to-generate-only-128-b.patch
Type: text/x-patch
Size: 1600 bytes
Desc: 0001-Introduce-flag-mavx-m128-only-to-generate-only-128-b.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110301/39ad7412/attachment.bin>


More information about the Gcc-patches mailing list