SSE4 instruction set

arkon at ragestorm.net arkon at ragestorm.net
Sun Sep 10 15:50:11 PDT 2006


Hello,
I've just uploaded Intel's reference to my website which has the opcode
mapping for SSE4. Same one I used for diStorm.

http://ragestorm.net/downloads
I hope it helps you.
Good luck,
Gil


-----Original Message-----
From: yasm-devel-bounces at tortall.net [mailto:yasm-devel-bounces at tortall.net]
On Behalf Of Peter Johnson
Sent: Sunday, September 10, 2006 9:55 PM
To: Mathieu Monnier
Cc: yasm-devel at tortall.net
Subject: Re: SSE4 instruction set

On Sun, 10 Sep 2006, Mathieu Monnier wrote:

> Attached is a patch attempting to add SSE4 instruction set support to
yasm. 
> At the moment, I'm not even sure the opcodes generated are correct, I'll 
> only be able to check that during the week. Yet I post the patch now, in 
> order to know whether - at least - I did the thing properly or not.
>
> I had, prior to today, no knowledge whatsoever on how opcodes where 
> generated, nor on yasm source code, so I most probably borked something.
So 
> you are more than welcome to comment on the patch structure while I check 
> its validity.

Yes, the patch looks good.  In r1612 (just committed) I moved CPU_64 and 
CPU_Not64 to bits 30 and 31 so you can move your new CPU_SSE4 define to 
bit 27 (actually I found a bug while doing this, as CPU_64 was overlapping 
CPU_EM64T).

As you suggest, I'll wait to commit this until we have a concrete 
reference for the opcodes.  Let us know!

Thanks,
Peter
_______________________________________________
yasm-devel mailing list
yasm-devel at tortall.net
http://cvs.tortall.net/mailman/listinfo/yasm-devel



More information about the yasm-devel mailing list