The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Grincheux on January 01, 2006, 12:03:55 PM

Title: MMX opcodes
Post by: Grincheux on January 01, 2006, 12:03:55 PM
Hello,

Where can I find MMX macros for MASM ?

It seems tham masm does not know some mnemonics such as : addpd xmm0,xmm1

Thanks
Title: Re: MMX opcodes
Post by: hutch-- on January 01, 2006, 01:04:43 PM
Just enable MMX with the .MMX directive at the beginning of the file.
Title: Re: MMX opcodes
Post by: elephanto on January 01, 2006, 11:06:21 PM
Quote from: Grincheux on January 01, 2006, 12:03:55 PM
Hello,

Where can I find MMX macros for MASM ?

It seems tham masm does not know some mnemonics such as : addpd xmm0,xmm1

Thanks

Hutch already told you how to enable mmx instructions, however your example is not mmx instruction - it's SSE2
Try .xmm

BTW. Hutch is "--" part of your nick?
Title: Re: MMX opcodes
Post by: hutch-- on January 02, 2006, 12:51:59 AM
ML 6.14 handles SSE but not SSE2. For this you will need to get a later version of ML. If you own VC6 you can use the processor pack to get ML 6.15 that does support SSE2. The processor pack is on the forum web site. You can open it with Winrar or similar if you don't want to install it.

elephanto,

Yes, some no account once had the audacity of using my nick on IRC so I added the -- to keep it unique.
Title: Re: MMX opcodes
Post by: ramguru on January 02, 2006, 12:55:42 PM
Quote from: hutch-- on January 02, 2006, 12:51:59 AM
Yes, some no account once had the audacity of using my nick on IRC so I added the -- to keep it unique.
How about avatar  :toothy I saw in one russian forum someone ussing it  :eek . It can't be you  :red am I right ?