PDA

View Full Version : Comparing G++ and Intel Compilers and Vectorized Code


sl4shd0t
12-21-2013, 08:48 AM
Nerval's Lobster writes "A compiler can take your C++ loops and create vectorized assembly code for you. It's obviously important that you RTFM and fully understand compiler options (especially since the defaults may not be what you want or think you're getting), but even then, do you trust that the compiler is generating the best code for you? Developer and editor Jeff Cogswell compares the g++ and Intel compilers when it comes to generating vectorized code, building off a previous test that examined the g++ compiler's vectorization abilities, and comes to some definite conclusions. 'The g++ compiler did well up against the Intel compiler,' he wrote. 'I was troubled by how different the generated assembly code was between the 4.7 and 4.8.1 compilers—not just with the vectorization but throughout the code.' Do you agree?" http://a.fsdn.com/sd/twitter_icon_large.png (http://twitter.com/home?status=Comparing+G%2B%2B+and+Intel+Compilers+ and+Vectorized+Code%3A+http%3A%2F%2Fbit.ly%2F18TT6 hS) http://a.fsdn.com/sd/facebook_icon_large.png (http://www.facebook.com/sharer.php?u=http%3A%2F%2Fdevelopers.slashdot.org% 2Fstory%2F13%2F12%2F19%2F1540219%2Fcomparing-g-and-intel-compilers-and-vectorized-code%3Futm_source%3Dslashdot%26utm_medium%3Dfacebo ok) http://www.gstatic.com/images/icons/gplus-16.png (http://plus.google.com/share?url=http://developers.slashdot.org/story/13/12/19/1540219/comparing-g-and-intel-compilers-and-vectorized-code?utm_source=slashdot&utm_medium=googleplus)

Read more of this story (http://developers.slashdot.org/story/13/12/19/1540219/comparing-g-and-intel-compilers-and-vectorized-code?utm_source=rss1.0moreanon&utm_medium=feed) at Slashdot.
http://slashdot.feedsportal.com/c/35028/f/647376/s/350274c5/sc/4/mf.gif


http://da.feedsportal.com/r/184841868203/u/49/f/647376/c/35028/s/350274c5/sc/4/rc/1/rc.img (http://da.feedsportal.com/r/184841868203/u/49/f/647376/c/35028/s/350274c5/sc/4/rc/1/rc.htm)
http://da.feedsportal.com/r/184841868203/u/49/f/647376/c/35028/s/350274c5/sc/4/rc/2/rc.img (http://da.feedsportal.com/r/184841868203/u/49/f/647376/c/35028/s/350274c5/sc/4/rc/2/rc.htm)
http://da.feedsportal.com/r/184841868203/u/49/f/647376/c/35028/s/350274c5/sc/4/rc/3/rc.img (http://da.feedsportal.com/r/184841868203/u/49/f/647376/c/35028/s/350274c5/sc/4/rc/3/rc.htm)

http://da.feedsportal.com/r/184841868203/u/49/f/647376/c/35028/s/350274c5/a2.img (http://da.feedsportal.com/r/184841868203/u/49/f/647376/c/35028/s/350274c5/a2.htm)http://pi.feedsportal.com/r/184841868203/u/49/f/647376/c/35028/s/350274c5/a2t.imghttp://feeds.feedburner.com/~r/Slashdot/slashdotDevelopers/~4/-Dj33LcXYjw

More... (http://rss.slashdot.org/~r/Slashdot/slashdotDevelopers/~3/-Dj33LcXYjw/story01.htm)