News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

"Immediate" value for SSE

Started by Farabi, November 17, 2010, 05:03:33 AM

Previous topic - Next topic

Farabi

I can put a value to FPU by using method like this

FLD CFLT(2.0)


How to do something like that for SSE?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

jj2007


Farabi

Thanks JJ, what about a packed integer value?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

jj2007

Quote from: Farabi on November 27, 2010, 05:34:40 PM
Thanks JJ, what about a packed integer value?

Have a look with Olly.
include \masm32\include\masm32rt.inc
.xmm

.code
start: push 11111111
push 22222222
push 33333333
push 44444444
movdqu xmm0, [esp]
add esp, 4*4
exit
end start