แก้ไข

แชร์ผ่าน


Avx10v1.RoundScaleScalar Method

Definition

Overloads

RoundScaleScalar(Vector128<Double>, Byte)

__m128d _mm_roundscale_sd (__m128d a, int imm)

VRNDSCALESD xmm1 {k1}{z}, xmm2, xmm3/m64{sae}, imm8

RoundScaleScalar(Vector128<Single>, Byte)

__m128 _mm_roundscale_ss (__m128 a, int imm)

VRNDSCALESS xmm1 {k1}{z}, xmm2, xmm3/m32{sae}, imm8

RoundScaleScalar(Vector128<Double>, Vector128<Double>, Byte)

__m128d _mm_roundscale_sd (__m128d a, __m128d b, int imm)

VRNDSCALESD xmm1 {k1}{z}, xmm2, xmm3/m64{sae}, imm8

The above native signature does not exist. We provide this additional overload for consistency with the other scalar APIs.

RoundScaleScalar(Vector128<Single>, Vector128<Single>, Byte)

__m128 _mm_roundscale_ss (__m128 a, __m128 b, int imm)

VRNDSCALESS xmm1 {k1}{z}, xmm2, xmm3/m32{sae}, imm8

The above native signature does not exist. We provide this additional overload for consistency with the other scalar APIs.

RoundScaleScalar(Vector128<Double>, Byte)

__m128d _mm_roundscale_sd (__m128d a, int imm)

VRNDSCALESD xmm1 {k1}{z}, xmm2, xmm3/m64{sae}, imm8

public:
 static System::Runtime::Intrinsics::Vector128<double> RoundScaleScalar(System::Runtime::Intrinsics::Vector128<double> value, System::Byte control);
public static System.Runtime.Intrinsics.Vector128<double> RoundScaleScalar (System.Runtime.Intrinsics.Vector128<double> value, byte control);
static member RoundScaleScalar : System.Runtime.Intrinsics.Vector128<double> * byte -> System.Runtime.Intrinsics.Vector128<double>
Public Shared Function RoundScaleScalar (value As Vector128(Of Double), control As Byte) As Vector128(Of Double)

Parameters

value
Vector128<Double>
control
Byte

Returns

Applies to

RoundScaleScalar(Vector128<Single>, Byte)

__m128 _mm_roundscale_ss (__m128 a, int imm)

VRNDSCALESS xmm1 {k1}{z}, xmm2, xmm3/m32{sae}, imm8

public:
 static System::Runtime::Intrinsics::Vector128<float> RoundScaleScalar(System::Runtime::Intrinsics::Vector128<float> value, System::Byte control);
public static System.Runtime.Intrinsics.Vector128<float> RoundScaleScalar (System.Runtime.Intrinsics.Vector128<float> value, byte control);
static member RoundScaleScalar : System.Runtime.Intrinsics.Vector128<single> * byte -> System.Runtime.Intrinsics.Vector128<single>
Public Shared Function RoundScaleScalar (value As Vector128(Of Single), control As Byte) As Vector128(Of Single)

Parameters

value
Vector128<Single>
control
Byte

Returns

Applies to

RoundScaleScalar(Vector128<Double>, Vector128<Double>, Byte)

__m128d _mm_roundscale_sd (__m128d a, __m128d b, int imm)

VRNDSCALESD xmm1 {k1}{z}, xmm2, xmm3/m64{sae}, imm8

The above native signature does not exist. We provide this additional overload for consistency with the other scalar APIs.

public:
 static System::Runtime::Intrinsics::Vector128<double> RoundScaleScalar(System::Runtime::Intrinsics::Vector128<double> upper, System::Runtime::Intrinsics::Vector128<double> value, System::Byte control);
public static System.Runtime.Intrinsics.Vector128<double> RoundScaleScalar (System.Runtime.Intrinsics.Vector128<double> upper, System.Runtime.Intrinsics.Vector128<double> value, byte control);
static member RoundScaleScalar : System.Runtime.Intrinsics.Vector128<double> * System.Runtime.Intrinsics.Vector128<double> * byte -> System.Runtime.Intrinsics.Vector128<double>
Public Shared Function RoundScaleScalar (upper As Vector128(Of Double), value As Vector128(Of Double), control As Byte) As Vector128(Of Double)

Parameters

upper
Vector128<Double>
value
Vector128<Double>
control
Byte

Returns

Applies to

RoundScaleScalar(Vector128<Single>, Vector128<Single>, Byte)

__m128 _mm_roundscale_ss (__m128 a, __m128 b, int imm)

VRNDSCALESS xmm1 {k1}{z}, xmm2, xmm3/m32{sae}, imm8

The above native signature does not exist. We provide this additional overload for consistency with the other scalar APIs.

public:
 static System::Runtime::Intrinsics::Vector128<float> RoundScaleScalar(System::Runtime::Intrinsics::Vector128<float> upper, System::Runtime::Intrinsics::Vector128<float> value, System::Byte control);
public static System.Runtime.Intrinsics.Vector128<float> RoundScaleScalar (System.Runtime.Intrinsics.Vector128<float> upper, System.Runtime.Intrinsics.Vector128<float> value, byte control);
static member RoundScaleScalar : System.Runtime.Intrinsics.Vector128<single> * System.Runtime.Intrinsics.Vector128<single> * byte -> System.Runtime.Intrinsics.Vector128<single>
Public Shared Function RoundScaleScalar (upper As Vector128(Of Single), value As Vector128(Of Single), control As Byte) As Vector128(Of Single)

Parameters

upper
Vector128<Single>
value
Vector128<Single>
control
Byte

Returns

Applies to