X86: Add support for x86 psrldq and pslldq instructions
authorVince Weaver <vince@csl.cornell.edu>
Fri, 30 Oct 2009 16:49:37 +0000 (12:49 -0400)
committerVince Weaver <vince@csl.cornell.edu>
Fri, 30 Oct 2009 16:49:37 +0000 (12:49 -0400)
commita12557439ba0297fefb558b34ecc761d2bc34017
tree598ace115720808989fca84d89716f7e282142e8
parent5873ec2238e521f34f7e70e6aa1b35a611225d80
X86: Add support for x86 psrldq and pslldq instructions

These are complicated instructions and the micro-code might be suboptimal.

This has been tested with some small sample programs (attached)

The psrldq instruction is needed by various spec2k programs.
src/arch/x86/isa/decoder/two_byte_opcodes.isa
src/arch/x86/isa/insts/simd128/integer/shift/left_logical_shift.py
src/arch/x86/isa/insts/simd128/integer/shift/right_logical_shift.py