PDA

View Full Version : Vectorizing Code on Sandy Bridge with AVX and SSE


News
08-26-12, 07:30 PM
http://m1.licdn.com/media/p/1/000/049/0df/11db74b.jpg (http://www.linkedin.com/pub/mike-croucher/13/361/323)Over at the Walking Randomly blog (http://www.walkingrandomly.com/?p=3378), Michael Croucher from the University of Manchester writes that there are many routes for programmers to take advantage of AVX vectorization on Sandy Bridge CPUs.

Since working with intrinsics is such hard work, why not let the compiler take the strain? Many modern compilers can automatically vectorize your C, C++ or Fortran code including gcc, PGI and Intel. Sometimes all you need to do is add an extra switch at compile time and reap the speed benefits. In truth, vectorization isn‚??t always automatic and the programmer needs to give the compiler some assistance but it is a lot easier than hand-coding intrinsics.

Read the Full Story (http://www.walkingrandomly.com/?p=3378).

http://insidehpc.com/?ak_action=api_record_view&id=31224&type=feed Related posts:

New Whitepaper: Arithmetics on Intel‚??s Sandy Bridge and Westmere CPUs ‚?? not all FLOPs are Created Equal (http://insidehpc.com/2012/05/08/new-whitepaper-arithmetics-on-intel%e2%80%99s-sandy-bridge-and-westmere-cpus-not-all-flops-are-created-equal/)
vSMP Foundation Now Supports Sandy Bridge (http://insidehpc.com/2012/03/14/vsmp-foundation-now-supports-sandy-bridge/)
SGI Boosts Big Data Performance with Sandy Bridge (http://insidehpc.com/2012/05/15/sgi-boosts-big-data-performance-with-sandy-bridge/)



http://feeds.feedburner.com/~ff/InsideHPC?d=yIl2AUoC8zA (http://feeds.feedburner.com/~ff/InsideHPC?a=kPgB6Vv__14:eA1G1t1rMA0:yIl2AUoC8zA) http://feeds.feedburner.com/~ff/InsideHPC?i=kPgB6Vv__14:eA1G1t1rMA0:F7zBnMyn0Lo (http://feeds.feedburner.com/~ff/InsideHPC?a=kPgB6Vv__14:eA1G1t1rMA0:F7zBnMyn0Lo) http://feeds.feedburner.com/~ff/InsideHPC?i=kPgB6Vv__14:eA1G1t1rMA0:V_sGLiPBpWU (http://feeds.feedburner.com/~ff/InsideHPC?a=kPgB6Vv__14:eA1G1t1rMA0:V_sGLiPBpWU)
http://feeds.feedburner.com/~r/InsideHPC/~4/kPgB6Vv__14

More... (http://feedproxy.google.com/~r/InsideHPC/~3/kPgB6Vv__14/)