AOSC-Archive / autobuild3

AOSC OS package maintenance toolkit (version 3)
https://aosc.io
GNU General Public License v2.0
24 stars 17 forks source link

arch/amd64.sh: use -ftree-vectorize #94

Closed MingcongBai closed 8 years ago

MingcongBai commented 8 years ago

GCC flag -ftree-vectorize may further utilize Intel x86 SIMDs like SSE and SSE2 to provide further parallelization and floating point performance.

"Vectorization is enabled by the flag -ftree-vectorize and by default at -O3. To allow vectorization on powerpc* platforms also use -maltivec. On i?86 and x86_64 platforms use -msse/-msse2. To enable vectorization of floating point reductions use -ffast-math or -fassociative-math."

https://gcc.gnu.org/projects/tree-ssa/vectorization.html