Avx2.HorizontalAdd Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HorizontalAdd(Vector256<Int16>, Vector256<Int16>) |
__m256i _mm256_hadd_epi16 (__m256i a, __m256i b) VPHADDW ymm, ymm, ymm/m256 |
HorizontalAdd(Vector256<Int32>, Vector256<Int32>) |
__m256i _mm256_hadd_epi32 (__m256i a, __m256i b) VPHADDD ymm, ymm, ymm/m256 |
HorizontalAdd(Vector256<Int16>, Vector256<Int16>)
- Source:
- Avx2.cs
- Source:
- Avx2.cs
- Source:
- Avx2.cs
__m256i _mm256_hadd_epi16 (__m256i a, __m256i b)
VPHADDW ymm, ymm, ymm/m256
public:
static System::Runtime::Intrinsics::Vector256<short> HorizontalAdd(System::Runtime::Intrinsics::Vector256<short> left, System::Runtime::Intrinsics::Vector256<short> right);
public static System.Runtime.Intrinsics.Vector256<short> HorizontalAdd (System.Runtime.Intrinsics.Vector256<short> left, System.Runtime.Intrinsics.Vector256<short> right);
static member HorizontalAdd : System.Runtime.Intrinsics.Vector256<int16> * System.Runtime.Intrinsics.Vector256<int16> -> System.Runtime.Intrinsics.Vector256<int16>
Public Shared Function HorizontalAdd (left As Vector256(Of Short), right As Vector256(Of Short)) As Vector256(Of Short)
Parameters
Returns
Applies to
HorizontalAdd(Vector256<Int32>, Vector256<Int32>)
- Source:
- Avx2.cs
- Source:
- Avx2.cs
- Source:
- Avx2.cs
__m256i _mm256_hadd_epi32 (__m256i a, __m256i b)
VPHADDD ymm, ymm, ymm/m256
public:
static System::Runtime::Intrinsics::Vector256<int> HorizontalAdd(System::Runtime::Intrinsics::Vector256<int> left, System::Runtime::Intrinsics::Vector256<int> right);
public static System.Runtime.Intrinsics.Vector256<int> HorizontalAdd (System.Runtime.Intrinsics.Vector256<int> left, System.Runtime.Intrinsics.Vector256<int> right);
static member HorizontalAdd : System.Runtime.Intrinsics.Vector256<int> * System.Runtime.Intrinsics.Vector256<int> -> System.Runtime.Intrinsics.Vector256<int>
Public Shared Function HorizontalAdd (left As Vector256(Of Integer), right As Vector256(Of Integer)) As Vector256(Of Integer)
Parameters
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.