Welcome to Intel® Software Network Quick Login | Join | Help |
Search in Intel® Software Network Forums
in Go

gcc and avx

Last post 04-20-2008, 7:12 PM by tim18. 1 replies.
Sort Posts: Previous Next
 04-20-2008, 4:51 PM 30253155  

gcc and avx

Can someone post an example of how to write an accumlate (for eight 32bit regs) using the vector instructions in AVX?

It would be best if the code could be written with gcc (extensions are ok).
 
 04-20-2008, 7:12 PM 30253158 in reply to 30253155  

Re: gcc and avx

You would require the ix86/avx branch of gcc 4.4 http://www.gnu.org/software/gcc/svn.html  AVX support presumably is mainly floating point; ideally, a float sum reduction in C should work with -ffast-math (doubt if it is so yet).
 
View as RSS news feed in XML

Shortcuts


Tags For This Post

...

Community Tags

...