Sse2.Add 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Add(Vector128<Byte>, Vector128<Byte>) |
__m128i _mm_add_epi8 (__m128i a, __m128i b) PADDB xmm, xmm/m128 |
Add(Vector128<UInt32>, Vector128<UInt32>) |
__m128i _mm_add_epi32 (__m128i a, __m128i b) PADDD xmm, xmm/m128 |
Add(Vector128<UInt16>, Vector128<UInt16>) |
__m128i _mm_add_epi16 (__m128i a, __m128i b) PADDW xmm, xmm/m128 |
Add(Vector128<SByte>, Vector128<SByte>) |
__m128i _mm_add_epi8 (__m128i a, __m128i b) PADDB xmm, xmm/m128 |
Add(Vector128<UInt64>, Vector128<UInt64>) |
__m128i _mm_add_epi64 (__m128i a, __m128i b) PADDQ xmm, xmm/m128 |
Add(Vector128<Int32>, Vector128<Int32>) |
__m128i _mm_add_epi32 (__m128i a, __m128i b) PADDD xmm, xmm/m128 |
Add(Vector128<Int16>, Vector128<Int16>) |
__m128i _mm_add_epi16 (__m128i a, __m128i b) PADDW xmm, xmm/m128 |
Add(Vector128<Double>, Vector128<Double>) |
__m128d _mm_add_pd (__m128d a, __m128d b) ADDPD xmm, xmm/m128 |
Add(Vector128<Int64>, Vector128<Int64>) |
__m128i _mm_add_epi64 (__m128i a, __m128i b) PADDQ xmm, xmm/m128 |
Add(Vector128<Byte>, Vector128<Byte>)
__m128i _mm_add_epi8 (__m128i a, __m128i b)
PADDB xmm, xmm/m128
public:
static System::Runtime::Intrinsics::Vector128<System::Byte> Add(System::Runtime::Intrinsics::Vector128<System::Byte> left, System::Runtime::Intrinsics::Vector128<System::Byte> right);
public static System.Runtime.Intrinsics.Vector128<byte> Add (System.Runtime.Intrinsics.Vector128<byte> left, System.Runtime.Intrinsics.Vector128<byte> right);
static member Add : System.Runtime.Intrinsics.Vector128<byte> * System.Runtime.Intrinsics.Vector128<byte> -> System.Runtime.Intrinsics.Vector128<byte>
Public Shared Function Add (left As Vector128(Of Byte), right As Vector128(Of Byte)) As Vector128(Of Byte)
参数
返回
适用于
Add(Vector128<UInt32>, Vector128<UInt32>)
__m128i _mm_add_epi32 (__m128i a, __m128i b)
PADDD xmm, xmm/m128
public:
static System::Runtime::Intrinsics::Vector128<System::UInt32> Add(System::Runtime::Intrinsics::Vector128<System::UInt32> left, System::Runtime::Intrinsics::Vector128<System::UInt32> right);
public static System.Runtime.Intrinsics.Vector128<uint> Add (System.Runtime.Intrinsics.Vector128<uint> left, System.Runtime.Intrinsics.Vector128<uint> right);
static member Add : System.Runtime.Intrinsics.Vector128<uint32> * System.Runtime.Intrinsics.Vector128<uint32> -> System.Runtime.Intrinsics.Vector128<uint32>
Public Shared Function Add (left As Vector128(Of UInteger), right As Vector128(Of UInteger)) As Vector128(Of UInteger)
参数
返回
适用于
Add(Vector128<UInt16>, Vector128<UInt16>)
__m128i _mm_add_epi16 (__m128i a, __m128i b)
PADDW xmm, xmm/m128
public:
static System::Runtime::Intrinsics::Vector128<System::UInt16> Add(System::Runtime::Intrinsics::Vector128<System::UInt16> left, System::Runtime::Intrinsics::Vector128<System::UInt16> right);
public static System.Runtime.Intrinsics.Vector128<ushort> Add (System.Runtime.Intrinsics.Vector128<ushort> left, System.Runtime.Intrinsics.Vector128<ushort> right);
static member Add : System.Runtime.Intrinsics.Vector128<uint16> * System.Runtime.Intrinsics.Vector128<uint16> -> System.Runtime.Intrinsics.Vector128<uint16>
Public Shared Function Add (left As Vector128(Of UShort), right As Vector128(Of UShort)) As Vector128(Of UShort)
参数
返回
适用于
Add(Vector128<SByte>, Vector128<SByte>)
__m128i _mm_add_epi8 (__m128i a, __m128i b)
PADDB xmm, xmm/m128
public:
static System::Runtime::Intrinsics::Vector128<System::SByte> Add(System::Runtime::Intrinsics::Vector128<System::SByte> left, System::Runtime::Intrinsics::Vector128<System::SByte> right);
public static System.Runtime.Intrinsics.Vector128<sbyte> Add (System.Runtime.Intrinsics.Vector128<sbyte> left, System.Runtime.Intrinsics.Vector128<sbyte> right);
static member Add : System.Runtime.Intrinsics.Vector128<sbyte> * System.Runtime.Intrinsics.Vector128<sbyte> -> System.Runtime.Intrinsics.Vector128<sbyte>
Public Shared Function Add (left As Vector128(Of SByte), right As Vector128(Of SByte)) As Vector128(Of SByte)
参数
返回
适用于
Add(Vector128<UInt64>, Vector128<UInt64>)
__m128i _mm_add_epi64 (__m128i a, __m128i b)
PADDQ xmm, xmm/m128
public:
static System::Runtime::Intrinsics::Vector128<System::UInt64> Add(System::Runtime::Intrinsics::Vector128<System::UInt64> left, System::Runtime::Intrinsics::Vector128<System::UInt64> right);
public static System.Runtime.Intrinsics.Vector128<ulong> Add (System.Runtime.Intrinsics.Vector128<ulong> left, System.Runtime.Intrinsics.Vector128<ulong> right);
static member Add : System.Runtime.Intrinsics.Vector128<uint64> * System.Runtime.Intrinsics.Vector128<uint64> -> System.Runtime.Intrinsics.Vector128<uint64>
Public Shared Function Add (left As Vector128(Of ULong), right As Vector128(Of ULong)) As Vector128(Of ULong)
参数
返回
适用于
Add(Vector128<Int32>, Vector128<Int32>)
__m128i _mm_add_epi32 (__m128i a, __m128i b)
PADDD xmm, xmm/m128
public:
static System::Runtime::Intrinsics::Vector128<int> Add(System::Runtime::Intrinsics::Vector128<int> left, System::Runtime::Intrinsics::Vector128<int> right);
public static System.Runtime.Intrinsics.Vector128<int> Add (System.Runtime.Intrinsics.Vector128<int> left, System.Runtime.Intrinsics.Vector128<int> right);
static member Add : System.Runtime.Intrinsics.Vector128<int> * System.Runtime.Intrinsics.Vector128<int> -> System.Runtime.Intrinsics.Vector128<int>
Public Shared Function Add (left As Vector128(Of Integer), right As Vector128(Of Integer)) As Vector128(Of Integer)
参数
返回
适用于
Add(Vector128<Int16>, Vector128<Int16>)
__m128i _mm_add_epi16 (__m128i a, __m128i b)
PADDW xmm, xmm/m128
public:
static System::Runtime::Intrinsics::Vector128<short> Add(System::Runtime::Intrinsics::Vector128<short> left, System::Runtime::Intrinsics::Vector128<short> right);
public static System.Runtime.Intrinsics.Vector128<short> Add (System.Runtime.Intrinsics.Vector128<short> left, System.Runtime.Intrinsics.Vector128<short> right);
static member Add : System.Runtime.Intrinsics.Vector128<int16> * System.Runtime.Intrinsics.Vector128<int16> -> System.Runtime.Intrinsics.Vector128<int16>
Public Shared Function Add (left As Vector128(Of Short), right As Vector128(Of Short)) As Vector128(Of Short)
参数
返回
适用于
Add(Vector128<Double>, Vector128<Double>)
__m128d _mm_add_pd (__m128d a, __m128d b)
ADDPD xmm, xmm/m128
public:
static System::Runtime::Intrinsics::Vector128<double> Add(System::Runtime::Intrinsics::Vector128<double> left, System::Runtime::Intrinsics::Vector128<double> right);
public static System.Runtime.Intrinsics.Vector128<double> Add (System.Runtime.Intrinsics.Vector128<double> left, System.Runtime.Intrinsics.Vector128<double> right);
static member Add : System.Runtime.Intrinsics.Vector128<double> * System.Runtime.Intrinsics.Vector128<double> -> System.Runtime.Intrinsics.Vector128<double>
Public Shared Function Add (left As Vector128(Of Double), right As Vector128(Of Double)) As Vector128(Of Double)
参数
返回
适用于
Add(Vector128<Int64>, Vector128<Int64>)
__m128i _mm_add_epi64 (__m128i a, __m128i b)
PADDQ xmm, xmm/m128
public:
static System::Runtime::Intrinsics::Vector128<long> Add(System::Runtime::Intrinsics::Vector128<long> left, System::Runtime::Intrinsics::Vector128<long> right);
public static System.Runtime.Intrinsics.Vector128<long> Add (System.Runtime.Intrinsics.Vector128<long> left, System.Runtime.Intrinsics.Vector128<long> right);
static member Add : System.Runtime.Intrinsics.Vector128<int64> * System.Runtime.Intrinsics.Vector128<int64> -> System.Runtime.Intrinsics.Vector128<int64>
Public Shared Function Add (left As Vector128(Of Long), right As Vector128(Of Long)) As Vector128(Of Long)