AdvSimd.AddScalar Method

Definition

Overloads

AddScalar(Vector64<UInt64>, Vector64<UInt64>)

uint64x1_t vadd_u64 (uint64x1_t a, uint64x1_t b)

A32: VADD.I64 Dd, Dn, Dm

A64: ADD Dd, Dn, Dm

AddScalar(Vector64<Single>, Vector64<Single>)

float32_t vadds_f32 (float32_t a, float32_t b)

A32: VADD.F32 Sd, Sn, Sm

A64: FADD Sd, Sn, Sm The above native signature does not exist. We provide this additional overload for consistency with the other scalar APIs.

AddScalar(Vector64<Double>, Vector64<Double>)

float64x1_t vadd_f64 (float64x1_t a, float64x1_t b)

A32: VADD.F64 Dd, Dn, Dm

A64: FADD Dd, Dn, Dm

AddScalar(Vector64<Int64>, Vector64<Int64>)

int64x1_t vadd_s64 (int64x1_t a, int64x1_t b)

A32: VADD.I64 Dd, Dn, Dm

A64: ADD Dd, Dn, Dm

AddScalar(Vector64<UInt64>, Vector64<UInt64>)

Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs

uint64x1_t vadd_u64 (uint64x1_t a, uint64x1_t b)

A32: VADD.I64 Dd, Dn, Dm

A64: ADD Dd, Dn, Dm

public static System.Runtime.Intrinsics.Vector64<ulong> AddScalar(System.Runtime.Intrinsics.Vector64<ulong> left, System.Runtime.Intrinsics.Vector64<ulong> right);

Parameters

right
Vector64<UInt64>

Returns

Applies to

.NET 10 and other versions
Product Versions
.NET 5, 6, 7, 8, 9, 10

AddScalar(Vector64<Single>, Vector64<Single>)

Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs

float32_t vadds_f32 (float32_t a, float32_t b)

A32: VADD.F32 Sd, Sn, Sm

A64: FADD Sd, Sn, Sm The above native signature does not exist. We provide this additional overload for consistency with the other scalar APIs.

public static System.Runtime.Intrinsics.Vector64<float> AddScalar(System.Runtime.Intrinsics.Vector64<float> left, System.Runtime.Intrinsics.Vector64<float> right);

Parameters

right
Vector64<Single>

Returns

Applies to

.NET 10 and other versions
Product Versions
.NET 5, 6, 7, 8, 9, 10

AddScalar(Vector64<Double>, Vector64<Double>)

Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs

float64x1_t vadd_f64 (float64x1_t a, float64x1_t b)

A32: VADD.F64 Dd, Dn, Dm

A64: FADD Dd, Dn, Dm

public static System.Runtime.Intrinsics.Vector64<double> AddScalar(System.Runtime.Intrinsics.Vector64<double> left, System.Runtime.Intrinsics.Vector64<double> right);

Parameters

right
Vector64<Double>

Returns

Applies to

.NET 10 and other versions
Product Versions
.NET 5, 6, 7, 8, 9, 10

AddScalar(Vector64<Int64>, Vector64<Int64>)

Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs
Source:
AdvSimd.PlatformNotSupported.cs

int64x1_t vadd_s64 (int64x1_t a, int64x1_t b)

A32: VADD.I64 Dd, Dn, Dm

A64: ADD Dd, Dn, Dm

public static System.Runtime.Intrinsics.Vector64<long> AddScalar(System.Runtime.Intrinsics.Vector64<long> left, System.Runtime.Intrinsics.Vector64<long> right);

Parameters

left
Vector64<Int64>
right
Vector64<Int64>

Returns

Applies to

.NET 10 and other versions
Product Versions
.NET 5, 6, 7, 8, 9, 10