Instruction
VFMADDSUB231PD
Fused multiply of packed doubles, second times third, minus the first 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 |
|---|---|---|
VFMADDSUB231PD xmm, xmm, m128
VFMADDSUB231PD_XMMdq_XMMdq_MEMdq | VEX.128.66.0F38.W1 B6 /r | FMA + AVX |
VFMADDSUB231PD xmm, xmm, xmm
VFMADDSUB231PD_XMMdq_XMMdq_XMMdq | VEX.128.66.0F38.W1 B6 /r | FMA + AVX |
VFMADDSUB231PD ymm, ymm, m256
VFMADDSUB231PD_YMMqq_YMMqq_MEMqq | VEX.256.66.0F38.W1 B6 /r | FMA + AVX |
VFMADDSUB231PD ymm, ymm, ymm
VFMADDSUB231PD_YMMqq_YMMqq_YMMqq | VEX.256.66.0F38.W1 B6 /r | FMA + AVX |
VFMADDSUB231PD zmm {k}{z}, zmm, zmm, {er}
VFMADDSUB231PD_ZMMf64_MASKmskw_ZMMf64_ZMMf64_AVX512 | EVEX.512.66.0F38.W1 B6 /r | AVX10.1 or AVX512F |
VFMADDSUB231PD zmm {k}{z}, zmm, m512/m64bcst
VFMADDSUB231PD_ZMMf64_MASKmskw_ZMMf64_MEMf64_AVX512 | EVEX.512.66.0F38.W1 B6 /r | AVX10.1 or AVX512F |
VFMADDSUB231PD xmm {k}{z}, xmm, xmm
VFMADDSUB231PD_XMMf64_MASKmskw_XMMf64_XMMf64_AVX512 | EVEX.128.66.0F38.W1 B6 /r | AVX10.1 or AVX512F + AVX512VL |
VFMADDSUB231PD xmm {k}{z}, xmm, m128/m64bcst
VFMADDSUB231PD_XMMf64_MASKmskw_XMMf64_MEMf64_AVX512 | EVEX.128.66.0F38.W1 B6 /r | AVX10.1 or AVX512F + AVX512VL |
VFMADDSUB231PD ymm {k}{z}, ymm, ymm
VFMADDSUB231PD_YMMf64_MASKmskw_YMMf64_YMMf64_AVX512 | EVEX.256.66.0F38.W1 B6 /r | AVX10.1 or AVX512F + AVX512VL |
VFMADDSUB231PD ymm {k}{z}, ymm, m256/m64bcst
VFMADDSUB231PD_YMMf64_MASKmskw_YMMf64_MEMf64_AVX512 | EVEX.256.66.0F38.W1 B6 /r | AVX10.1 or AVX512F + AVX512VL |
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to VFMADDSUB231PD, 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_mask3_fmaddsub_pd
__m128d _mm_mask3_fmaddsub_pd(__m128d __A, __m128d __B, __m128d __C, __mmask8 __U) |
|
_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_mask3_fmaddsub_pd
__m256d _mm256_mask3_fmaddsub_pd(__m256d __A, __m256d __B, __m256d __C, __mmask8 __U) |
|
_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_mask3_fmaddsub_pd
__m512d _mm512_mask3_fmaddsub_pd(__m512d __A, __m512d __B, __m512d __C, __mmask8 __U) |
|
_mm512_mask3_fmaddsub_round_pd
__m512d _mm512_mask3_fmaddsub_round_pd(__m512d A, __m512d B, __m512d C, __mmask8 U, const int R) |
|
_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
- VFMADD213PD
- VFMADD213PH
- VFMADD213PS
- VFMADD213SD
- VFMADD213SH
- VFMADD213SS
- VFMADD231PD
- VFMADD231PH
- VFMADD231PS
- VFMADD231SD
- VFMADD231SH
- VFMADD231SS
- VFMADDCPH
- VFMADDCSH
- VFMADDSUB132PD
- VFMADDSUB132PH
- VFMADDSUB132PS
- VFMADDSUB213PD
- VFMADDSUB213PH
- VFMADDSUB213PS
- VFMADDSUB231PH
- VFMADDSUB231PS
- VFMSUB132PD
- VFMSUB132PH
- VFMSUB132PS
- VFMSUB132SD
- VFMSUB132SH
- VFMSUB132SS
- VFMSUB213PD
- VFMSUB213PH
- VFMSUB213PS
- VFMSUB213SD
- VFMSUB213SH
- VFMSUB213SS
- VFMSUB231PD
- VFMSUB231PH
- VFMSUB231PS
- VFMSUB231SD
- VFMSUB231SH
- VFMSUB231SS
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.