[PTLsim-devel] SSE4 support

Matt T. Yourst
Sat Jan 19 14:56:40 EST 2008


On Saturday 19 January 2008, Yanek J wrote:
> Hi,
> Do you plan adding new SSE instructions (SSE4.1/4.2 etc) to ptlsim?
>
> I was looking into e.g. PCMPESTRI instruction (opcode: 66 0F 3A 61 /r
> imm8). Where would be the best place to start looking into ptlsim code? Do
> you have any manual describing the process of adding new instructions?
>
> http://en.wikipedia.org/wiki/SSE4
>

You need to write the microcode for these instructions and add it to 
decode-sse.cpp. This will be a big job for instructions like PCMPESTRI since 
they are internally quite complicated. You may need to add extra uops to the 
native ISA to make it work.

- Matt

-------------------------------------------------------
 Matt T. Yourst                    yourst at peptidal.com
 Peptidal Research Inc., Co-Founder and Lead Architect
-------------------------------------------------------


More information about the PTLsim-devel mailing list