Skip to content

Commit

Permalink
Rename opcode: PMULLQ to VPMULLQ
Browse files Browse the repository at this point in the history
  • Loading branch information
abrown committed Jun 3, 2020
1 parent ce78ee3 commit 5db384c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cranelift/codegen/meta/src/isa/x86/encodings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2108,7 +2108,7 @@ fn define_simd(
{
e.enc_32_64_maybe_isap(
x86_pmullq,
rec_evex_reg_vvvv_rm_128.opcodes(&PMULLQ).w(),
rec_evex_reg_vvvv_rm_128.opcodes(&VPMULLQ).w(),
Some(use_avx512dq_simd), // TODO need an OR predicate to join with AVX512VL
);
}
Expand Down
2 changes: 1 addition & 1 deletion cranelift/codegen/meta/src/isa/x86/opcodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ pub static PMULLD: [u8; 4] = [0x66, 0x0f, 0x38, 0x40];

/// Multiply the packed quadword signed integers in xmm2 and xmm3/m128 and store the low 64
/// bits of each product in xmm1 (AVX512VL/DQ). Requires an EVEX encoding.
pub static PMULLQ: [u8; 4] = [0x66, 0x0f, 0x38, 0x40];
pub static VPMULLQ: [u8; 4] = [0x66, 0x0f, 0x38, 0x40];

/// Multiply packed unsigned doubleword integers in xmm1 by packed unsigned doubleword integers
/// in xmm2/m128, and store the quadword results in xmm1 (SSE2).
Expand Down

0 comments on commit 5db384c

Please sign in to comment.