How can the SSE-instructions and registers be included in the program using the mass32 package? What kind of options need to be specified in the asm-file?
Look at .XMM
Hi, hutch--!
Thank you very much!
And in masm32 is xmmword? Why ml don't undestand instructions
movaps xmmword ptr [eax+30h], xmm4
movsd qword ptr [eax+40h], xmm1
cvtss2sd xmm1, xmm1
How can I replace such instructions?
Hi Mikl!
Here is a little test piece:include \masm32\include\masm32rt.inc ; plain Masm32 for the fans of pure assembler
.686p ; recent CPU
.xmm ; allow xmm instructions
.data
src dq 1234567890abcdefh, 1234567890abcdefh
.data?
buffer db 16 dup(?)
.code
start:
mov eax, offset buffer
movaps oword ptr [eax+30h], xmm4
movups xmm1, oword ptr src
movsd qword ptr [eax+30h], xmm1 ; invalid instruction operands with ml 6.15
movlps qword ptr [eax+40h], xmm1 ; OK, does the same and is one byte shorter
cvtss2sd xmm1, xmm1
inkey "ok?"
exit
end start
Tell your coder that you are a miserable bot, Newsiriwan 8)
Quote from: jj2007 on March 08, 2018, 09:52:12 PMTell your coder that you are a miserable bot, Newsiriwan 8)
Hi,
jj2007!
I did not understand what you wrote about?
There was a post by a bot, which Hutch has deleted since. Insulting the bot is useless, so we insult at least his author :icon_mrgreen: