Add x86 SIMD band_not
This commit is contained in:
@@ -1982,6 +1982,10 @@ pub(crate) fn define<'defs>(
|
||||
let band = band.bind(vector(ty, sse_vector_size));
|
||||
e.enc_32_64(band, rec_fa.opcodes(&PAND));
|
||||
|
||||
// and not (note flipped recipe operands to match band_not order)
|
||||
let band_not = band_not.bind(vector(ty, sse_vector_size));
|
||||
e.enc_32_64(band_not, rec_fax.opcodes(&PANDN));
|
||||
|
||||
// or
|
||||
let bor = bor.bind(vector(ty, sse_vector_size));
|
||||
e.enc_32_64(bor, rec_fa.opcodes(&POR));
|
||||
|
||||
@@ -266,6 +266,9 @@ pub static PADDUSW: [u8; 3] = [0x66, 0x0f, 0xdd];
|
||||
/// Bitwise AND of xmm2/m128 and xmm1 (SSE2).
|
||||
pub static PAND: [u8; 3] = [0x66, 0x0f, 0xdb];
|
||||
|
||||
/// Bitwise AND NOT of xmm2/m128 and xmm1 (SSE2).
|
||||
pub static PANDN: [u8; 3] = [0x66, 0x0f, 0xdf];
|
||||
|
||||
/// Compare packed data for equal (SSE2).
|
||||
pub static PCMPEQB: [u8; 3] = [0x66, 0x0f, 0x74];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user