flat assembler
Message board for the users of flat assembler.

Index > Main > Defining sse/sse2 data

Author
Thread Post new topic Reply to topic
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 30 Oct 2003, 13:11
How would you define data for the sse/sse2 instuctions Question
I looked in the 1.49 fasm manual:data definitions, and I do not see a way to define this data, only up to a ten byte float.

Suggestion?: Wink
Arrow (In the definitions below, you wouldn't have to use a data access overide,
like so: mov xmm0, dqword [myssefloat]. The fasm compiler would
know that this is a qword (sse/sse2) value, just mov xmm0,[myssefloat])

floats:
myssefloat dqf 1.0,2.0,3.0,4.0 ; single precision floats (sse)
myssedfloat dqd 1.0,2.0 ;double precision floats (sse2)

integers
myssebytes dqb 10,20,30,40,10,20,30,40,10,20,30,40,10,20,30,40
myssewords dqw 1020,3040,1020,3040,1020,3040,1020,3040
myssedwords dqd 10203040,10203040,10203040,10203040
mysseqwords dqq 1020304010203040,1020304010203040
Post 30 Oct 2003, 13:11
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.