flat assembler
Message board for the users of flat assembler.

Index > Main > SSE2 CheatSheet

Author
Thread Post new topic Reply to topic
Chewy509



Joined: 19 Jun 2003
Posts: 297
Location: Bris-vegas, Australia
Chewy509
Hi Guys,

In the process of adding Vector support to b0, I've done up the attached cheat sheet for SSE2 instructions.

While I undestand how SSE works, I've done very little with it in real life, so would appreciate if someone could look at the xls spreadsheet and offer any feedback. eg any missing instructions, or additional mappings, etc.

I've delibrately left out MMX, as all the operations should only operate on either mem128 or xmm registers. (no GPRs, or MMX regs). (b0 will only offer a subset of SSE, not the full range). Additionally I only want to support packed data types as well, since b0 offers full x87 support (but no MMX support).

Are there any operations that I've missed, or is it rather complete? (The shuffle commands are either 1 position left or 1 position right. I will add in the additional shuffle offsets in the actual implementation). For operations that I've missed, how would they best fit into the attached spreadsheet.

PS. It really seems that the only decent support in SSE2 is for 4x packed integer dwords, 4x single precision values or 2x packed double precision values. Without looking at SSE3/SSE4 I would expect those missing instructions to handle the other data types to have been filled in.


Description: SSE Cheat Sheet v1.
Download
Filename: sse.xls
Filesize: 25.5 KB
Downloaded: 506 Time(s)

Post 10 Sep 2007, 03:29
View user's profile Send private message Visit poster's website Reply with quote
0x4e71



Joined: 25 Feb 2004
Posts: 50
0x4e71
Very cool Chewy509, thanks for sharing!
Post 13 Sep 2007, 19:41
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-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.