Jump to content


VS2005 and SSE4.1


4 replies to this topic

#1 chhenning

    New Member

  • Members
  • Pip
  • 9 posts

Posted 23 September 2009 - 02:45 PM

Hi there, does anyone know how to use the dot product instruction available with SSE4? I have Visual Studio 2005 and the intrinsic headers don't support such new version. Also, I need to use 64bit where I believe no inline assembler is possible.

The only way I can think of is to use a .asm file with the instructions but I don't know how to do that correctly.

Thanks,
Christian

#2 Kenneth Gorking

    Senior Member

  • Members
  • PipPipPipPip
  • 939 posts

Posted 23 September 2009 - 07:26 PM

SSE4 doesn't seem to be available in VS2005. I don't even think using assembly with VS2005 would work, because the assembler might also not have any knowledge of the SSE4 instructions.

You could upgrade to 2008, or use the 2008 express version with some trickery to get it working for 64-bit and Itanium targets. I am doing this, and it works great :)
"Stupid bug! You go squish now!!" - Homer Simpson

#3 chhenning

    New Member

  • Members
  • Pip
  • 9 posts

Posted 23 September 2009 - 09:16 PM

Thanks Kenneth, I didn't even know that there is no 64bit in the Express version. Do you know if that will change for VS2010 Express?

#4 Kenneth Gorking

    Senior Member

  • Members
  • PipPipPipPip
  • 939 posts

Posted 24 September 2009 - 08:30 AM

No I don't, but I hope it will :)
"Stupid bug! You go squish now!!" - Homer Simpson

#5 roel

    Senior Member

  • Members
  • PipPipPipPip
  • 698 posts

Posted 24 September 2009 - 09:50 AM

Note that if you want maximum performance and you're working with 3d vectors, using SIMD that way is not optimal. Rather process four 3d vectors at the same time instead.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users