Instruction
VFMADDSUB213PD
Fused multiply of packed doubles, second times first, minus the third in even elements and plus it in odd ones, into the first.
- Extensions
- Forms
- 10 (4 VEX, 6 EVEX)
- Data
- Intel XED v2026.08.23
Forms
| Instruction | Encoding | Requires |
|---|---|---|
VFMADDSUB213PD xmm, xmm, m128
VFMADDSUB213PD_XMMdq_XMMdq_MEMdq | VEX.128.66.0F38.W1 A6 /r | FMA + AVX |
VFMADDSUB213PD xmm, xmm, xmm
VFMADDSUB213PD_XMMdq_XMMdq_XMMdq | VEX.128.66.0F38.W1 A6 /r | FMA + AVX |
VFMADDSUB213PD ymm, ymm, m256
VFMADDSUB213PD_YMMqq_YMMqq_MEMqq | VEX.256.66.0F38.W1 A6 /r | FMA + AVX |
VFMADDSUB213PD ymm, ymm, ymm
VFMADDSUB213PD_YMMqq_YMMqq_YMMqq | VEX.256.66.0F38.W1 A6 /r | FMA + AVX |
VFMADDSUB213PD zmm {k}{z}, zmm, zmm, {er}
VFMADDSUB213PD_ZMMf64_MASKmskw_ZMMf64_ZMMf64_AVX512 | EVEX.512.66.0F38.W1 A6 /r | AVX10.1 or AVX512F |
VFMADDSUB213PD zmm {k}{z}, zmm, m512/m64bcst
VFMADDSUB213PD_ZMMf64_MASKmskw_ZMMf64_MEMf64_AVX512 | EVEX.512.66.0F38.W1 A6 /r | AVX10.1 or AVX512F |
VFMADDSUB213PD xmm {k}{z}, xmm, xmm
VFMADDSUB213PD_XMMf64_MASKmskw_XMMf64_XMMf64_AVX512 | EVEX.128.66.0F38.W1 A6 /r | AVX10.1 or AVX512F + AVX512VL |
VFMADDSUB213PD xmm {k}{z}, xmm, m128/m64bcst
VFMADDSUB213PD_XMMf64_MASKmskw_XMMf64_MEMf64_AVX512 | EVEX.128.66.0F38.W1 A6 /r | AVX10.1 or AVX512F + AVX512VL |
VFMADDSUB213PD ymm {k}{z}, ymm, ymm
VFMADDSUB213PD_YMMf64_MASKmskw_YMMf64_YMMf64_AVX512 | EVEX.256.66.0F38.W1 A6 /r | AVX10.1 or AVX512F + AVX512VL |
VFMADDSUB213PD ymm {k}{z}, ymm, m256/m64bcst
VFMADDSUB213PD_YMMf64_MASKmskw_YMMf64_MEMf64_AVX512 | EVEX.256.66.0F38.W1 A6 /r | AVX10.1 or AVX512F + AVX512VL |
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to VFMADDSUB213PD, 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_fmaddsub_pd
__m128d _mm_fmaddsub_pd(__m128d __A, __m128d __B, __m128d __C) |
|
_mm_mask_fmaddsub_pd
__m128d _mm_mask_fmaddsub_pd(__m128d __A, __mmask8 __U, __m128d __B, __m128d __C) |
|
_mm_maskz_fmaddsub_pd
__m128d _mm_maskz_fmaddsub_pd(__mmask8 __U, __m128d __A, __m128d __B, __m128d __C) |
|
_mm256_fmaddsub_pd
__m256d _mm256_fmaddsub_pd(__m256d __A, __m256d __B, __m256d __C) |
|
_mm256_mask_fmaddsub_pd
__m256d _mm256_mask_fmaddsub_pd(__m256d __A, __mmask8 __U, __m256d __B, __m256d __C) |
|
_mm256_maskz_fmaddsub_pd
__m256d _mm256_maskz_fmaddsub_pd(__mmask8 __U, __m256d __A, __m256d __B, __m256d __C) |
|
_mm512_fmaddsub_pd
__m512d _mm512_fmaddsub_pd(__m512d __A, __m512d __B, __m512d __C) |
|
_mm512_fmaddsub_round_pd
__m512d _mm512_fmaddsub_round_pd(__m512d A, __m512d B, __m512d C, const int R) |
|
_mm512_mask_fmaddsub_pd
__m512d _mm512_mask_fmaddsub_pd(__m512d __A, __mmask8 __U, __m512d __B, __m512d __C) |
|
_mm512_maskz_fmaddsub_pd
__m512d _mm512_maskz_fmaddsub_pd(__mmask8 __U, __m512d __A, __m512d __B, __m512d __C) |
|
_mm512_maskz_fmaddsub_round_pd
__m512d _mm512_maskz_fmaddsub_round_pd(__mmask8 U, __m512d A, __m512d B, __m512d C, const int R) |
|
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.
More AVX10.1 instructions
- VFMADD132SD
- VFMADD132SH
- VFMADD132SS
- VFMADD213PD
- VFMADD213PH
- VFMADD213PS
- VFMADD213SD
- VFMADD213SH
- VFMADD213SS
- VFMADD231PD
- VFMADD231PH
- VFMADD231PS
- VFMADD231SD
- VFMADD231SH
- VFMADD231SS
- VFMADDCPH
- VFMADDCSH
- VFMADDSUB132PD
- VFMADDSUB132PH
- VFMADDSUB132PS
- VFMADDSUB213PH
- VFMADDSUB213PS
- VFMADDSUB231PD
- VFMADDSUB231PH
- VFMADDSUB231PS
- VFMSUB132PD
- VFMSUB132PH
- VFMSUB132PS
- VFMSUB132SD
- VFMSUB132SH
- VFMSUB132SS
- VFMSUB213PD
- VFMSUB213PH
- VFMSUB213PS
- VFMSUB213SD
- VFMSUB213SH
- VFMSUB213SS
- VFMSUB231PD
- VFMSUB231PH
- VFMSUB231PS
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.