
11 Oct
2008
11 Oct
'08
4:24 p.m.
Mathias Gaunard a écrit :
Isn't GCC supposed to implement loop vectorization? Did you add in there SIMD instructions or not?
"Supposed" is the keyword. gcc 4.4 has a -Ox optimization that tries to SIMD code but when the basic block starts to get too long or too complex, it stops. For loop unrolling, it should be done automagically if loop bounds are statically known, if not, do it yourself. -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35