My PMMX200 died, p4 on the way (was kind of forced to buy it - 64 bit, multiprocessor etc. next time...).

If I want to code in masm for sse2:
Which directives do I have to use?
.xmm for sse works but which one for sse2 ?


I have the ml.exe (Version 6.15.8803) and ml.err copied in the old package.

Thanks
VShader
Posted on 2004-10-15 17:14:25 by VShader
From memory, you start the main file with,


.XMM

before any other specifier such as .686p.

The directives for processor maximums are like as follows.


.XMM
.MMX
.686 (p)
.586
.486
.386
Posted on 2004-10-15 17:41:42 by hutch--
o.k., it works.
Thanks!


So now come, baby ...
(Read *after* ordering that p4-Prescott has now a pipeline of 31 cycles ... OMG.
I think I will go writing vertex- and pixelshadercode for the ATI x800xl-PCI-Express !)

VShader
Posted on 2004-10-15 18:29:20 by VShader
o.k., it works.
Thanks!


So now come, baby ...
(Read *after* ordering that p4-Prescott has now a pipeline of 31 cycles ... OMG.
I think I will go writing vertex- and pixelshadercode for the ATI x800xl-PCI-Express !)

VShader


For the same reason a good number of the instructions are 1 cycle slower ( on average, and not all instructions).
Posted on 2004-10-18 21:13:30 by mark_larson