EDN Admin
Well-known member
The VC++ 2012 auto-vectorizer tries to make loops in your code run faster by automatically vectorizing your code using the SSE instructions available in all current mainline Intel and AMD chips. In Visual C++ 2012, auto-vectorization is on by default and requires only that you write your code—that is, there are no compiler switches, #pragmas, or hints. It just works. Of course, its one thing to say that, but how does it work, exactly? When does it vectorize and when doesnt it? Why?
Auto-vectorization is a powerful compiler feature and represents outstanding engineering by a few folks on the Microsoft Visual C++ compiler team. The engineering leader of this team is Jim Radigan . Fortunately for us, Jim has agreed to do a series of C9 lectures digging into the nuts and bolts of this powerful compiler technology. Thank you, Jim! In the first part of this n-part series, Jim introduces the series, the ideas behind auto-vectorization, demos some code that showcases the power of auto-vectorization, and describes how/when user code is vectorized (typical and atypical patterns alike). Over the course of this series, Jim will present both the practical and theoretical foundations of auto-vectorization. (You can learn more about auto-vectorization by reading http://blogs.msdn.com/b/nativeconcurrency/archive/2012/04/12/auto-vectorizer-in-visual-studio-11-overview.aspx" target="_blank the blog posts by Jim Hogg , another member of the VC compiler team working on this technology.)
Tune in. Ask questions. Learn. <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Feeds/RSS&WT.dl=0&WT.entryid=Entry:RSSView:6b1fc349db1d4297a82ba059003bd1c3
View the full article
Auto-vectorization is a powerful compiler feature and represents outstanding engineering by a few folks on the Microsoft Visual C++ compiler team. The engineering leader of this team is Jim Radigan . Fortunately for us, Jim has agreed to do a series of C9 lectures digging into the nuts and bolts of this powerful compiler technology. Thank you, Jim! In the first part of this n-part series, Jim introduces the series, the ideas behind auto-vectorization, demos some code that showcases the power of auto-vectorization, and describes how/when user code is vectorized (typical and atypical patterns alike). Over the course of this series, Jim will present both the practical and theoretical foundations of auto-vectorization. (You can learn more about auto-vectorization by reading http://blogs.msdn.com/b/nativeconcurrency/archive/2012/04/12/auto-vectorizer-in-visual-studio-11-overview.aspx" target="_blank the blog posts by Jim Hogg , another member of the VC compiler team working on this technology.)
Tune in. Ask questions. Learn. <img src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcssip=channel9.msdn.com&dcsuri=http://channel9.msdn.com/Feeds/RSS&WT.dl=0&WT.entryid=Entry:RSSView:6b1fc349db1d4297a82ba059003bd1c3
View the full article