Add x86 SIMD immediate shifts
This commit is contained in:
@@ -431,6 +431,18 @@ pub static PSHUFB: [u8; 4] = [0x66, 0x0f, 0x38, 0x00];
|
||||
/// store the result in xmm1 (SSE2).
|
||||
pub static PSHUFD: [u8; 3] = [0x66, 0x0f, 0x70];
|
||||
|
||||
/// Shift words in xmm1 by imm8; the direction and sign-bit behavior is controlled by the RRR
|
||||
/// digit used in the ModR/M byte (SSE2).
|
||||
pub static PS_W_IMM: [u8; 3] = [0x66, 0x0f, 0x71];
|
||||
|
||||
/// Shift doublewords in xmm1 by imm8; the direction and sign-bit behavior is controlled by the RRR
|
||||
/// digit used in the ModR/M byte (SSE2).
|
||||
pub static PS_D_IMM: [u8; 3] = [0x66, 0x0f, 0x72];
|
||||
|
||||
/// Shift quadwords in xmm1 by imm8; the direction and sign-bit behavior is controlled by the RRR
|
||||
/// digit used in the ModR/M byte (SSE2).
|
||||
pub static PS_Q_IMM: [u8; 3] = [0x66, 0x0f, 0x73];
|
||||
|
||||
/// Shift words in xmm1 left by xmm2/m128 while shifting in 0s (SSE2).
|
||||
pub static PSLLW: [u8; 3] = [0x66, 0x0f, 0xf1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user