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

How to use SSE, inline assembly

This topic is 3981 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!