PMULLD
/ VPMULLDMultiply low 32-bit elements
Compute each 32-bit result independently, keeping the low 32 bits.
Similar operations on Arm64:MULvmulq_u16
| Form | Bits | Requires | Encoding |
|---|---|---|---|
PMULLD xmm1, xmm2 | 128 | SSE4.1 | 66 0F 38 40 /r |
VPMULLD xmm1, xmm2, xmm3 | 128 | AVX | VEX.L0.66.0F38.WIG 40 /r |
VPMULLD ymm1, ymm2, ymm3 | 256 | AVX2 | VEX.L1.66.0F38.WIG 40 /r |
Operation#
Pseudo-C · selected form
dst[i] = (a[i] * b[i]) mod 2^32Exact upstream semantics
Standard variant
let elements := register_size / element_size;
var result := Zero(register_size);
for i := 0 to elements-1 do
let op1 := src1[i *: element_size];
let op2 := src2[i *: element_size];
let r := op1 * op2;
result[i *: element_size] := r;
endfor;What to watch for
- Each element operates independently; arithmetic does not propagate carry between elements.
- Signed and unsigned multiplication produce the same retained low bits; high product bits are discarded.
Corresponding intrinsics#
__m128i _mm_mullo_epi32(__m128i a, __m128i b)Documented mapping
PMULLD xmm, xmm
Architectural details#
- Flags
- RFLAGS unchanged.
- Destination
- Writes the low 128 bits; upper vector-register bits are preserved.
- Encoding
66 0F 38 40 /r- Operands
xmm1read / write · 128 bits (4 × 32) · unsignedxmm2read · 128 bits (4 × 32) · unsigned
- Coverage
- Selected register-only 128/256-bit legacy and VEX forms. Memory, MMX, EVEX/AVX-512 and scalar floating-point forms are outside this selection.
Exception information & execution requirements
#NM#UD
Feature availability, operating-system vector-state enablement and applicable floating-point exception controls still apply.
Feature availability alone does not guarantee execution: OS state and execution-level controls also apply. Use the linked architecture documentation for the full exception conditions.
Sources & provenance#
Technical fields are imported from pinned upstream files. Explanations and explorer behavior are maintained separately.
Intel · PMULLD-PMULLQ-Multiply-Packed-Integers-and-Store-Low-Result.xml
- Revision
4ebe7f0ac1bd00f46244c49bb72c503ce368def7- SHA-256
544de0e6affd452dfb6f61ca7f9cfd60e87a4bdb2a1386c29af8053c9e4e1fcf- Terms
- Intel SDM terms; see License.md
Intel · intrinsics.xml
- Revision
4ebe7f0ac1bd00f46244c49bb72c503ce368def7- SHA-256
6762a50652a35ef663fd532ed83b789d19bbc2ac7e94b1771f19d666d96c2c30- Terms
- Intel SDM terms; see License.md