Avx.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<Double>, Vector256<Double>) |
__m256d _mm256_hadd_pd (__m256d a, __m256d b) VHADDPD ymm, ymm, ymm/m256 |
HorizontalAdd(Vector256<Single>, Vector256<Single>) |
__m256 _mm256_hadd_ps (__m256 a, __m256 b) VHADDPS ymm, ymm, ymm/m256 |
HorizontalAdd(Vector256<Double>, Vector256<Double>)
- Source:
- Avx.cs
- Source:
- Avx.cs
- Source:
- Avx.cs
__m256d _mm256_hadd_pd (__m256d a, __m256d b)
VHADDPD ymm, ymm, ymm/m256
public:
static System::Runtime::Intrinsics::Vector256<double> HorizontalAdd(System::Runtime::Intrinsics::Vector256<double> left, System::Runtime::Intrinsics::Vector256<double> right);
public static System.Runtime.Intrinsics.Vector256<double> HorizontalAdd (System.Runtime.Intrinsics.Vector256<double> left, System.Runtime.Intrinsics.Vector256<double> right);
static member HorizontalAdd : System.Runtime.Intrinsics.Vector256<double> * System.Runtime.Intrinsics.Vector256<double> -> System.Runtime.Intrinsics.Vector256<double>
Public Shared Function HorizontalAdd (left As Vector256(Of Double), right As Vector256(Of Double)) As Vector256(Of Double)
Parameters
Returns
Applies to
HorizontalAdd(Vector256<Single>, Vector256<Single>)
- Source:
- Avx.cs
- Source:
- Avx.cs
- Source:
- Avx.cs
__m256 _mm256_hadd_ps (__m256 a, __m256 b)
VHADDPS ymm, ymm, ymm/m256
public:
static System::Runtime::Intrinsics::Vector256<float> HorizontalAdd(System::Runtime::Intrinsics::Vector256<float> left, System::Runtime::Intrinsics::Vector256<float> right);
public static System.Runtime.Intrinsics.Vector256<float> HorizontalAdd (System.Runtime.Intrinsics.Vector256<float> left, System.Runtime.Intrinsics.Vector256<float> right);
static member HorizontalAdd : System.Runtime.Intrinsics.Vector256<single> * System.Runtime.Intrinsics.Vector256<single> -> System.Runtime.Intrinsics.Vector256<single>
Public Shared Function HorizontalAdd (left As Vector256(Of Single), right As Vector256(Of Single)) As Vector256(Of Single)
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.