Jump to content
  • Advertisement
Sign in to follow this  
V-man

How to use SSE, inline assembly

This topic is 3900 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I found this page http://www.ibm.com/developerworks/linux/library/l-ia.html?dwzone=linux so I can perhaps understand some of that AT&T syntax and port my inline assembly code to Linux. The inline assembly is done in VC++, for the Windows platform. Problem is that this is too much work. I was thinking maybe there is an easier way. Has anyone used Intel's or AMD's math toolkit? I just need to multiply matrix by vector, vector by matrix. PS : Matrices are in column major format.

Share this post


Link to post
Share on other sites
Advertisement
I believe gcc has some built in vectorization ability without inline assembly or intrinsics. Might want to google that.

Intrinsics are really easy to use however, and also tend to port really well between windows/unix/mac on different compilers.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!