hi all

i am expirimenting on how to use the SSE1, xmm reg's, in masm
but the problem is that:
masm does get the SSE1 command, but the compilers tells me, it is in the wrong cpu mode .

can anybody tell what mode is higher then, ".686", so i can atleast compile my program.

btw: is there a way to use SSE2 whit masm
when i use a SSE2 command the assembler tells me he doesnt
recognizes the command, he thinks it is a label.

Posted on 2004-08-28 19:03:24 by pyr0_mathic

Don't forget to put


.386 ;Or 486 or others this for your use...or better use for user...
.xmm ;For SSE
.mmx ;For MMX
.K3D ;For 3DNow..

With that I think it would work...

"Optimism is a false hope for the use of cowards or imbeciles"..
(Me and perhaps others)
Posted on 2004-08-28 23:10:15 by gerard

thx for the reply, and yes it works now.

btw: does any one have some tutorials about SSE or SSE2 programming, because i have not even coded anything for the basic FPU, so i got no experience at all whit x87.

Posted on 2004-08-29 04:00:40 by pyr0_mathic

If you want some informations about SSE, MMx or 3DNow...
Please go and see -->http://www.cpuid.com

I think you'll enjoy...

I let you at your keyboard...

"Optimism is a false hope for the use of cowards or imbeciles"

(Always Me and some other person)
Posted on 2004-08-29 12:37:54 by gerard
There is also lots of information and several articles on the Intel and AMD sites.
Posted on 2004-09-23 02:25:58 by jorgon
You need at least MASM 6.15 to compile SSE2 stuff. MASM32 comes with MASM 6.14, so if you are using that you'll have to find the 6.15 or later. If you go to www.masmforum.com, you should be able to search on some messages in the forums for different places to find it.

If you want to also do SSE3 I wrote some macros for it and posted them on the www.masmforum.com forums. The macros work with MASM 6.14 or higher. I made it 6.14 since it comes with MASM32.
Posted on 2004-09-23 10:27:49 by mark_larson
You can download MASM 6.15 from Iczelion's site:


Posted on 2004-09-23 11:46:40 by S/390
GoAsm also does SSE, SSE2 and 3DNow! See www.GoDevTool.com
Posted on 2004-09-24 03:15:51 by jorgon