Instruction
VDBPSADBW
Sums absolute differences of 4-byte groups of the two sources into 16-bit results, after an immediate shuffles the second within each 128-bit lane.
- Extensions
- Forms
- 6 (6 EVEX)
- Data
- Intel XED v2026.08.23
Forms
| Instruction | Encoding | Requires |
|---|---|---|
VDBPSADBW xmm {k}{z}, xmm, xmm, imm8
VDBPSADBW_XMMu16_MASKmskw_XMMu8_XMMu8_IMM8_AVX512 | EVEX.128.66.0F3A.W0 42 /r ib | AVX10.1 or AVX512BW + AVX512VL |
VDBPSADBW xmm {k}{z}, xmm, m128, imm8
VDBPSADBW_XMMu16_MASKmskw_XMMu8_MEMu8_IMM8_AVX512 | EVEX.128.66.0F3A.W0 42 /r ib | AVX10.1 or AVX512BW + AVX512VL |
VDBPSADBW ymm {k}{z}, ymm, ymm, imm8
VDBPSADBW_YMMu16_MASKmskw_YMMu8_YMMu8_IMM8_AVX512 | EVEX.256.66.0F3A.W0 42 /r ib | AVX10.1 or AVX512BW + AVX512VL |
VDBPSADBW ymm {k}{z}, ymm, m256, imm8
VDBPSADBW_YMMu16_MASKmskw_YMMu8_MEMu8_IMM8_AVX512 | EVEX.256.66.0F3A.W0 42 /r ib | AVX10.1 or AVX512BW + AVX512VL |
VDBPSADBW zmm {k}{z}, zmm, zmm, imm8
VDBPSADBW_ZMMu16_MASKmskw_ZMMu8_ZMMu8_IMM8_AVX512 | EVEX.512.66.0F3A.W0 42 /r ib | AVX10.1 or AVX512BW |
VDBPSADBW zmm {k}{z}, zmm, m512, imm8
VDBPSADBW_ZMMu16_MASKmskw_ZMMu8_MEMu8_IMM8_AVX512 | EVEX.512.66.0F3A.W0 42 /r ib | AVX10.1 or AVX512BW |
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to VDBPSADBW, each with the form it compiles to and the Clang options it needs. The forms come from compiling every intrinsic and decoding the result with Intel XED; all intrinsics A–Z explains the method.
| Intrinsic | Compiles to |
|---|---|
_mm_dbsad_epu8
__m128i _mm_dbsad_epu8(__m128i A, __m128i B, const int imm) |
|
_mm_mask_dbsad_epu8
__m128i _mm_mask_dbsad_epu8(__m128i W, __mmask8 U, __m128i A, __m128i B, const int imm) |
|
_mm_maskz_dbsad_epu8
__m128i _mm_maskz_dbsad_epu8(__mmask8 U, __m128i A, __m128i B, const int imm) |
|
_mm256_dbsad_epu8
__m256i _mm256_dbsad_epu8(__m256i A, __m256i B, const int imm) |
|
_mm256_mask_dbsad_epu8
__m256i _mm256_mask_dbsad_epu8(__m256i W, __mmask16 U, __m256i A, __m256i B, const int imm) |
|
_mm256_maskz_dbsad_epu8
__m256i _mm256_maskz_dbsad_epu8(__mmask16 U, __m256i A, __m256i B, const int imm) |
|
_mm512_dbsad_epu8
__m512i _mm512_dbsad_epu8(__m512i A, __m512i B, const int imm) |
|
_mm512_mask_dbsad_epu8
__m512i _mm512_mask_dbsad_epu8(__m512i W, __mmask32 U, __m512i A, __m512i B, const int imm) |
|
_mm512_maskz_dbsad_epu8
__m512i _mm512_maskz_dbsad_epu8(__mmask32 U, __m512i A, __m512i B, const int imm) |
|
CPUID and processors
Each form belongs to an XED ISA set. A form can be used when the processor reports every CPUID bit of one of its ISA set's alternatives.
| ISA set | CPUID | Processors in XED |
|---|---|---|
AVX512BW_128 | AVX10.1 or AVX512BW + AVX512VL | Cannon Lake, Ice Lake (client), Tiger Lake, Nova Lake, Skylake-SP, Cascade Lake, Cooper Lake, Ice Lake (server), Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids |
AVX512BW_256 | AVX10.1 or AVX512BW + AVX512VL | Cannon Lake, Ice Lake (client), Tiger Lake, Nova Lake, Skylake-SP, Cascade Lake, Cooper Lake, Ice Lake (server), Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids |
AVX512BW_512 | AVX10.1 or AVX512BW | Cannon Lake, Ice Lake (client), Tiger Lake, Nova Lake, Skylake-SP, Cascade Lake, Cooper Lake, Ice Lake (server), Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids |
More AVX10.1 instructions
- VCVTTPS2QQ
- VCVTTPS2UDQ
- VCVTTPS2UQQ
- VCVTTSD2SI
- VCVTTSD2USI
- VCVTTSH2SI
- VCVTTSH2USI
- VCVTTSS2SI
- VCVTTSS2USI
- VCVTUDQ2PD
- VCVTUDQ2PH
- VCVTUDQ2PS
- VCVTUQQ2PD
- VCVTUQQ2PH
- VCVTUQQ2PS
- VCVTUSI2SD
- VCVTUSI2SH
- VCVTUSI2SS
- VCVTUW2PH
- VCVTW2PH
- VDIVPD
- VDIVPH
- VDIVPS
- VDIVSD
- VDIVSH
- VDIVSS
- VDPBF16PS
- VEXPANDPD
- VEXPANDPS
- VEXTRACTF32X4
- VEXTRACTF32X8
- VEXTRACTF64X2
- VEXTRACTF64X4
- VEXTRACTI32X4
- VEXTRACTI32X8
- VEXTRACTI64X2
- VEXTRACTI64X4
- VEXTRACTPS
- VFCMADDCPH
- VFCMADDCSH
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, ISA sets, CPUID bits and chip model. - Clang's x86 intrinsic headers, LLVM 23.1.2 (commit
85ac56026243): the intrinsics, their signatures and doc comments, and the Clang of that release, which compiled each of them. - Intel Advanced Vector Extensions 10.2 Architecture Specification, revision 6.0 (361050-006, January 2026)
The tables are derived from Intel XED, Copyright Intel Corporation, licensed under the Apache License 2.0; x86-64.net converted and reformatted them. The intrinsics and their signatures come from Clang, part of the LLVM Project, licensed under the Apache License 2.0 with LLVM Exceptions. The text is our own.