Vector Class Discussion

simple ray casting test slower when vectorized
Author: Agner Date: 2013-03-03 02:27
epsilon wrote:
Unfortunately, the vectorized loop (using vec3d,vec4d) runs two times slower than the non-vectorized version on my Sandy-Bridge Xeon, compiled with gcc 4.7:
Try to look at the assembly output to see what the compiler is doing in each case. It is possible that the compiler has optimized away everything if the value of pos is not used anywhere.
 
thread simple ray casting test slower when vectorized new - epsilon - 2013-03-02
last replythread simple ray casting test slower when vectorized - Agner - 2013-03-03
last replythread simple ray casting test slower when vectorized new - epsilon - 2013-03-03
last replythread simple ray casting test slower when vectorized new - Agner - 2013-03-03
last reply simple ray casting test slower when vectorized new - chad - 2013-03-14