diff options
Diffstat (limited to 'src/simd/archsimd/ops_amd64.go')
| -rw-r--r-- | src/simd/archsimd/ops_amd64.go | 423 |
1 files changed, 154 insertions, 269 deletions
diff --git a/src/simd/archsimd/ops_amd64.go b/src/simd/archsimd/ops_amd64.go index d01f340d25..2d596ac5f3 100644 --- a/src/simd/archsimd/ops_amd64.go +++ b/src/simd/archsimd/ops_amd64.go @@ -2356,252 +2356,216 @@ func (x Uint64x8) Expand(mask Mask64x8) Uint64x8 /* ExtendLo2ToInt64x2 */ -// ExtendLo2ToInt64x2 converts 2 lowest vector element values to int64. -// The result vector's elements are sign-extended. +// ExtendLo2ToInt64x2 sign-extends 2 lowest vector element values to int64. // // Asm: VPMOVSXBQ, CPU Feature: AVX func (x Int8x16) ExtendLo2ToInt64x2() Int64x2 -// ExtendLo2ToInt64x2 converts 2 lowest vector element values to int64. -// The result vector's elements are sign-extended. +// ExtendLo2ToInt64x2 sign-extends 2 lowest vector element values to int64. // // Asm: VPMOVSXWQ, CPU Feature: AVX func (x Int16x8) ExtendLo2ToInt64x2() Int64x2 -// ExtendLo2ToInt64x2 converts 2 lowest vector element values to int64. -// The result vector's elements are sign-extended. +// ExtendLo2ToInt64x2 sign-extends 2 lowest vector element values to int64. // // Asm: VPMOVSXDQ, CPU Feature: AVX func (x Int32x4) ExtendLo2ToInt64x2() Int64x2 /* ExtendLo2ToUint64x2 */ -// ExtendLo2ToUint64x2 converts 2 lowest vector element values to uint64. -// The result vector's elements are zero-extended. +// ExtendLo2ToUint64x2 zero-extends 2 lowest vector element values to uint64. // // Asm: VPMOVZXBQ, CPU Feature: AVX func (x Uint8x16) ExtendLo2ToUint64x2() Uint64x2 -// ExtendLo2ToUint64x2 converts 2 lowest vector element values to uint64. -// The result vector's elements are zero-extended. +// ExtendLo2ToUint64x2 zero-extends 2 lowest vector element values to uint64. // // Asm: VPMOVZXWQ, CPU Feature: AVX func (x Uint16x8) ExtendLo2ToUint64x2() Uint64x2 -// ExtendLo2ToUint64x2 converts 2 lowest vector element values to uint64. -// The result vector's elements are zero-extended. +// ExtendLo2ToUint64x2 zero-extends 2 lowest vector element values to uint64. // // Asm: VPMOVZXDQ, CPU Feature: AVX func (x Uint32x4) ExtendLo2ToUint64x2() Uint64x2 /* ExtendLo4ToInt32x4 */ -// ExtendLo4ToInt32x4 converts 4 lowest vector element values to int32. -// The result vector's elements are sign-extended. +// ExtendLo4ToInt32x4 sign-extends 4 lowest vector element values to int32. // // Asm: VPMOVSXBD, CPU Feature: AVX func (x Int8x16) ExtendLo4ToInt32x4() Int32x4 -// ExtendLo4ToInt32x4 converts 4 lowest vector element values to int32. -// The result vector's elements are sign-extended. +// ExtendLo4ToInt32x4 sign-extends 4 lowest vector element values to int32. // // Asm: VPMOVSXWD, CPU Feature: AVX func (x Int16x8) ExtendLo4ToInt32x4() Int32x4 /* ExtendLo4ToInt64x4 */ -// ExtendLo4ToInt64x4 converts 4 lowest vector element values to int64. -// The result vector's elements are sign-extended. +// ExtendLo4ToInt64x4 sign-extends 4 lowest vector element values to int64. // // Asm: VPMOVSXBQ, CPU Feature: AVX2 func (x Int8x16) ExtendLo4ToInt64x4() Int64x4 -// ExtendLo4ToInt64x4 converts 4 lowest vector element values to int64. -// The result vector's elements are sign-extended. +// ExtendLo4ToInt64x4 sign-extends 4 lowest vector element values to int64. // // Asm: VPMOVSXWQ, CPU Feature: AVX2 func (x Int16x8) ExtendLo4ToInt64x4() Int64x4 /* ExtendLo4ToUint32x4 */ -// ExtendLo4ToUint32x4 converts 4 lowest vector element values to uint32. -// The result vector's elements are zero-extended. +// ExtendLo4ToUint32x4 zero-extends 4 lowest vector element values to uint32. // // Asm: VPMOVZXBD, CPU Feature: AVX func (x Uint8x16) ExtendLo4ToUint32x4() Uint32x4 -// ExtendLo4ToUint32x4 converts 4 lowest vector element values to uint32. -// The result vector's elements are zero-extended. +// ExtendLo4ToUint32x4 zero-extends 4 lowest vector element values to uint32. // // Asm: VPMOVZXWD, CPU Feature: AVX func (x Uint16x8) ExtendLo4ToUint32x4() Uint32x4 /* ExtendLo4ToUint64x4 */ -// ExtendLo4ToUint64x4 converts 4 lowest vector element values to uint64. -// The result vector's elements are zero-extended. +// ExtendLo4ToUint64x4 zero-extends 4 lowest vector element values to uint64. // // Asm: VPMOVZXBQ, CPU Feature: AVX2 func (x Uint8x16) ExtendLo4ToUint64x4() Uint64x4 -// ExtendLo4ToUint64x4 converts 4 lowest vector element values to uint64. -// The result vector's elements are zero-extended. +// ExtendLo4ToUint64x4 zero-extends 4 lowest vector element values to uint64. // // Asm: VPMOVZXWQ, CPU Feature: AVX2 func (x Uint16x8) ExtendLo4ToUint64x4() Uint64x4 /* ExtendLo8ToInt16x8 */ -// ExtendLo8ToInt16x8 converts 8 lowest vector element values to int16. -// The result vector's elements are sign-extended. +// ExtendLo8ToInt16x8 sign-extends 8 lowest vector element values to int16. // // Asm: VPMOVSXBW, CPU Feature: AVX func (x Int8x16) ExtendLo8ToInt16x8() Int16x8 /* ExtendLo8ToInt32x8 */ -// ExtendLo8ToInt32x8 converts 8 lowest vector element values to int32. -// The result vector's elements are sign-extended. +// ExtendLo8ToInt32x8 sign-extends 8 lowest vector element values to int32. // // Asm: VPMOVSXBD, CPU Feature: AVX2 func (x Int8x16) ExtendLo8ToInt32x8() Int32x8 /* ExtendLo8ToInt64x8 */ -// ExtendLo8ToInt64x8 converts 8 lowest vector element values to int64. -// The result vector's elements are sign-extended. +// ExtendLo8ToInt64x8 sign-extends 8 lowest vector element values to int64. // // Asm: VPMOVSXBQ, CPU Feature: AVX512 func (x Int8x16) ExtendLo8ToInt64x8() Int64x8 /* ExtendLo8ToUint16x8 */ -// ExtendLo8ToUint16x8 converts 8 lowest vector element values to uint16. -// The result vector's elements are zero-extended. +// ExtendLo8ToUint16x8 zero-extends 8 lowest vector element values to uint16. // // Asm: VPMOVZXBW, CPU Feature: AVX func (x Uint8x16) ExtendLo8ToUint16x8() Uint16x8 /* ExtendLo8ToUint32x8 */ -// ExtendLo8ToUint32x8 converts 8 lowest vector element values to uint32. -// The result vector's elements are zero-extended. +// ExtendLo8ToUint32x8 zero-extends 8 lowest vector element values to uint32. // // Asm: VPMOVZXBD, CPU Feature: AVX2 func (x Uint8x16) ExtendLo8ToUint32x8() Uint32x8 /* ExtendLo8ToUint64x8 */ -// ExtendLo8ToUint64x8 converts 8 lowest vector element values to uint64. -// The result vector's elements are zero-extended. +// ExtendLo8ToUint64x8 zero-extends 8 lowest vector element values to uint64. // // Asm: VPMOVZXBQ, CPU Feature: AVX512 func (x Uint8x16) ExtendLo8ToUint64x8() Uint64x8 /* ExtendToInt16 */ -// ExtendToInt16 converts element values to int16. -// The result vector's elements are sign-extended. +// ExtendToInt16 sign-extends element values to int16. // // Asm: VPMOVSXBW, CPU Feature: AVX2 func (x Int8x16) ExtendToInt16() Int16x16 -// ExtendToInt16 converts element values to int16. -// The result vector's elements are sign-extended. +// ExtendToInt16 sign-extends element values to int16. // // Asm: VPMOVSXBW, CPU Feature: AVX512 func (x Int8x32) ExtendToInt16() Int16x32 /* ExtendToInt32 */ -// ExtendToInt32 converts element values to int32. -// The result vector's elements are sign-extended. +// ExtendToInt32 sign-extends element values to int32. // // Asm: VPMOVSXBD, CPU Feature: AVX512 func (x Int8x16) ExtendToInt32() Int32x16 -// ExtendToInt32 converts element values to int32. -// The result vector's elements are sign-extended. +// ExtendToInt32 sign-extends element values to int32. // // Asm: VPMOVSXWD, CPU Feature: AVX2 func (x Int16x8) ExtendToInt32() Int32x8 -// ExtendToInt32 converts element values to int32. -// The result vector's elements are sign-extended. +// ExtendToInt32 sign-extends element values to int32. // // Asm: VPMOVSXWD, CPU Feature: AVX512 func (x Int16x16) ExtendToInt32() Int32x16 /* ExtendToInt64 */ -// ExtendToInt64 converts element values to int64. -// The result vector's elements are sign-extended. +// ExtendToInt64 sign-extends element values to int64. // // Asm: VPMOVSXWQ, CPU Feature: AVX512 func (x Int16x8) ExtendToInt64() Int64x8 -// ExtendToInt64 converts element values to int64. -// The result vector's elements are sign-extended. +// ExtendToInt64 sign-extends element values to int64. // // Asm: VPMOVSXDQ, CPU Feature: AVX2 func (x Int32x4) ExtendToInt64() Int64x4 -// ExtendToInt64 converts element values to int64. -// The result vector's elements are sign-extended. +// ExtendToInt64 sign-extends element values to int64. // // Asm: VPMOVSXDQ, CPU Feature: AVX512 func (x Int32x8) ExtendToInt64() Int64x8 /* ExtendToUint16 */ -// ExtendToUint16 converts element values to uint16. -// The result vector's elements are zero-extended. +// ExtendToUint16 zero-extends element values to uint16. // // Asm: VPMOVZXBW, CPU Feature: AVX2 func (x Uint8x16) ExtendToUint16() Uint16x16 -// ExtendToUint16 converts element values to uint16. -// The result vector's elements are zero-extended. +// ExtendToUint16 zero-extends element values to uint16. // // Asm: VPMOVZXBW, CPU Feature: AVX512 func (x Uint8x32) ExtendToUint16() Uint16x32 /* ExtendToUint32 */ -// ExtendToUint32 converts element values to uint32. -// The result vector's elements are zero-extended. +// ExtendToUint32 zero-extends element values to uint32. // // Asm: VPMOVZXBD, CPU Feature: AVX512 func (x Uint8x16) ExtendToUint32() Uint32x16 -// ExtendToUint32 converts element values to uint32. -// The result vector's elements are zero-extended. +// ExtendToUint32 zero-extends element values to uint32. // // Asm: VPMOVZXWD, CPU Feature: AVX2 func (x Uint16x8) ExtendToUint32() Uint32x8 -// ExtendToUint32 converts element values to uint32. -// The result vector's elements are zero-extended. +// ExtendToUint32 zero-extends element values to uint32. // // Asm: VPMOVZXWD, CPU Feature: AVX512 func (x Uint16x16) ExtendToUint32() Uint32x16 /* ExtendToUint64 */ -// ExtendToUint64 converts element values to uint64. -// The result vector's elements are zero-extended. +// ExtendToUint64 zero-extends element values to uint64. // // Asm: VPMOVZXWQ, CPU Feature: AVX512 func (x Uint16x8) ExtendToUint64() Uint64x8 -// ExtendToUint64 converts element values to uint64. -// The result vector's elements are zero-extended. +// ExtendToUint64 zero-extends element values to uint64. // // Asm: VPMOVZXDQ, CPU Feature: AVX2 func (x Uint32x4) ExtendToUint64() Uint64x4 -// ExtendToUint64 converts element values to uint64. -// The result vector's elements are zero-extended. +// ExtendToUint64 zero-extends element values to uint64. // // Asm: VPMOVZXDQ, CPU Feature: AVX512 func (x Uint32x8) ExtendToUint64() Uint64x8 @@ -5365,302 +5329,255 @@ func (x Uint32x4) SHA256TwoRounds(y Uint32x4, z Uint32x4) Uint32x4 /* SaturateToInt8 */ -// SaturateToInt8 converts element values to int8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToInt8 converts element values to int8 with signed saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSWB, CPU Feature: AVX512 func (x Int16x8) SaturateToInt8() Int8x16 -// SaturateToInt8 converts element values to int8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToInt8 converts element values to int8 with signed saturation. // // Asm: VPMOVSWB, CPU Feature: AVX512 func (x Int16x16) SaturateToInt8() Int8x16 -// SaturateToInt8 converts element values to int8. -// Conversion is done with saturation on the vector elements. +// SaturateToInt8 converts element values to int8 with signed saturation. // // Asm: VPMOVSWB, CPU Feature: AVX512 func (x Int16x32) SaturateToInt8() Int8x32 -// SaturateToInt8 converts element values to int8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToInt8 converts element values to int8 with signed saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSDB, CPU Feature: AVX512 func (x Int32x4) SaturateToInt8() Int8x16 -// SaturateToInt8 converts element values to int8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToInt8 converts element values to int8 with signed saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSDB, CPU Feature: AVX512 func (x Int32x8) SaturateToInt8() Int8x16 -// SaturateToInt8 converts element values to int8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToInt8 converts element values to int8 with signed saturation. // // Asm: VPMOVSDB, CPU Feature: AVX512 func (x Int32x16) SaturateToInt8() Int8x16 -// SaturateToInt8 converts element values to int8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToInt8 converts element values to int8 with signed saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSQB, CPU Feature: AVX512 func (x Int64x2) SaturateToInt8() Int8x16 -// SaturateToInt8 converts element values to int8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToInt8 converts element values to int8 with signed saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSQB, CPU Feature: AVX512 func (x Int64x4) SaturateToInt8() Int8x16 -// SaturateToInt8 converts element values to int8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToInt8 converts element values to int8 with signed saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSQB, CPU Feature: AVX512 func (x Int64x8) SaturateToInt8() Int8x16 /* SaturateToInt16 */ -// SaturateToInt16 converts element values to int16. -// Conversion is done with saturation on the vector elements. +// SaturateToInt16 converts element values to int16 with signed saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSDW, CPU Feature: AVX512 func (x Int32x4) SaturateToInt16() Int16x8 -// SaturateToInt16 converts element values to int16. -// Conversion is done with saturation on the vector elements. +// SaturateToInt16 converts element values to int16 with signed saturation. // // Asm: VPMOVSDW, CPU Feature: AVX512 func (x Int32x8) SaturateToInt16() Int16x8 -// SaturateToInt16 converts element values to int16. -// Conversion is done with saturation on the vector elements. +// SaturateToInt16 converts element values to int16 with signed saturation. // // Asm: VPMOVSDW, CPU Feature: AVX512 func (x Int32x16) SaturateToInt16() Int16x16 -// SaturateToInt16 converts element values to int16. -// Conversion is done with saturation on the vector elements. +// SaturateToInt16 converts element values to int16 with signed saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSQW, CPU Feature: AVX512 func (x Int64x2) SaturateToInt16() Int16x8 -// SaturateToInt16 converts element values to int16. -// Conversion is done with saturation on the vector elements. +// SaturateToInt16 converts element values to int16 with signed saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSQW, CPU Feature: AVX512 func (x Int64x4) SaturateToInt16() Int16x8 -// SaturateToInt16 converts element values to int16. -// Conversion is done with saturation on the vector elements. +// SaturateToInt16 converts element values to int16 with signed saturation. // // Asm: VPMOVSQW, CPU Feature: AVX512 func (x Int64x8) SaturateToInt16() Int16x8 /* SaturateToInt16Concat */ -// SaturateToInt16Concat converts element values to int16. +// SaturateToInt16Concat converts element values to int16 with signed saturation. // With each 128-bit as a group: // The converted group from the first input vector will be packed to the lower part of the result vector, // the converted group from the second input vector will be packed to the upper part of the result vector. -// Conversion is done with saturation on the vector elements. // // Asm: VPACKSSDW, CPU Feature: AVX func (x Int32x4) SaturateToInt16Concat(y Int32x4) Int16x8 -// SaturateToInt16Concat converts element values to int16. +// SaturateToInt16Concat converts element values to int16 with signed saturation. // With each 128-bit as a group: // The converted group from the first input vector will be packed to the lower part of the result vector, // the converted group from the second input vector will be packed to the upper part of the result vector. -// Conversion is done with saturation on the vector elements. // // Asm: VPACKSSDW, CPU Feature: AVX2 func (x Int32x8) SaturateToInt16Concat(y Int32x8) Int16x16 -// SaturateToInt16Concat converts element values to int16. +// SaturateToInt16Concat converts element values to int16 with signed saturation. // With each 128-bit as a group: // The converted group from the first input vector will be packed to the lower part of the result vector, // the converted group from the second input vector will be packed to the upper part of the result vector. -// Conversion is done with saturation on the vector elements. // // Asm: VPACKSSDW, CPU Feature: AVX512 func (x Int32x16) SaturateToInt16Concat(y Int32x16) Int16x32 /* SaturateToInt32 */ -// SaturateToInt32 converts element values to int32. -// Conversion is done with saturation on the vector elements. +// SaturateToInt32 converts element values to int32 with signed saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSQD, CPU Feature: AVX512 func (x Int64x2) SaturateToInt32() Int32x4 -// SaturateToInt32 converts element values to int32. -// Conversion is done with saturation on the vector elements. +// SaturateToInt32 converts element values to int32 with signed saturation. // // Asm: VPMOVSQD, CPU Feature: AVX512 func (x Int64x4) SaturateToInt32() Int32x4 -// SaturateToInt32 converts element values to int32. -// Conversion is done with saturation on the vector elements. +// SaturateToInt32 converts element values to int32 with signed saturation. // // Asm: VPMOVSQD, CPU Feature: AVX512 func (x Int64x8) SaturateToInt32() Int32x8 /* SaturateToUint8 */ -// SaturateToUint8 converts element values to uint8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToUint8 converts element values to uint8 with unsigned saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSWB, CPU Feature: AVX512 func (x Int16x8) SaturateToUint8() Int8x16 -// SaturateToUint8 converts element values to uint8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToUint8 converts element values to uint8 with unsigned saturation. // // Asm: VPMOVSWB, CPU Feature: AVX512 func (x Int16x16) SaturateToUint8() Int8x16 -// SaturateToUint8 converts element values to uint8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToUint8 converts element values to uint8 with unsigned saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSDB, CPU Feature: AVX512 func (x Int32x4) SaturateToUint8() Int8x16 -// SaturateToUint8 converts element values to uint8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToUint8 converts element values to uint8 with unsigned saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSDB, CPU Feature: AVX512 func (x Int32x8) SaturateToUint8() Int8x16 -// SaturateToUint8 converts element values to uint8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToUint8 converts element values to uint8 with unsigned saturation. // // Asm: VPMOVSDB, CPU Feature: AVX512 func (x Int32x16) SaturateToUint8() Int8x16 -// SaturateToUint8 converts element values to uint8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToUint8 converts element values to uint8 with unsigned saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSQB, CPU Feature: AVX512 func (x Int64x2) SaturateToUint8() Int8x16 -// SaturateToUint8 converts element values to uint8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToUint8 converts element values to uint8 with unsigned saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSQB, CPU Feature: AVX512 func (x Int64x4) SaturateToUint8() Int8x16 -// SaturateToUint8 converts element values to uint8. -// Conversion is done with saturation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// SaturateToUint8 converts element values to uint8 with unsigned saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVSQB, CPU Feature: AVX512 func (x Int64x8) SaturateToUint8() Int8x16 -// SaturateToUint8 converts element values to uint8. -// Conversion is done with saturation on the vector elements. +// SaturateToUint8 converts element values to uint8 with unsigned saturation. // // Asm: VPMOVUSWB, CPU Feature: AVX512 func (x Uint16x32) SaturateToUint8() Uint8x32 /* SaturateToUint16 */ -// SaturateToUint16 converts element values to uint16. -// Conversion is done with saturation on the vector elements. +// SaturateToUint16 converts element values to uint16 with unsigned saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVUSDW, CPU Feature: AVX512 func (x Uint32x4) SaturateToUint16() Uint16x8 -// SaturateToUint16 converts element values to uint16. -// Conversion is done with saturation on the vector elements. +// SaturateToUint16 converts element values to uint16 with unsigned saturation. // // Asm: VPMOVUSDW, CPU Feature: AVX512 func (x Uint32x8) SaturateToUint16() Uint16x8 -// SaturateToUint16 converts element values to uint16. -// Conversion is done with saturation on the vector elements. +// SaturateToUint16 converts element values to uint16 with unsigned saturation. // // Asm: VPMOVUSDW, CPU Feature: AVX512 func (x Uint32x16) SaturateToUint16() Uint16x16 -// SaturateToUint16 converts element values to uint16. -// Conversion is done with saturation on the vector elements. +// SaturateToUint16 converts element values to uint16 with unsigned saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVUSQW, CPU Feature: AVX512 func (x Uint64x2) SaturateToUint16() Uint16x8 -// SaturateToUint16 converts element values to uint16. -// Conversion is done with saturation on the vector elements. +// SaturateToUint16 converts element values to uint16 with unsigned saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVUSQW, CPU Feature: AVX512 func (x Uint64x4) SaturateToUint16() Uint16x8 -// SaturateToUint16 converts element values to uint16. -// Conversion is done with saturation on the vector elements. +// SaturateToUint16 converts element values to uint16 with unsigned saturation. // // Asm: VPMOVUSQW, CPU Feature: AVX512 func (x Uint64x8) SaturateToUint16() Uint16x8 /* SaturateToUint16Concat */ -// SaturateToUint16Concat converts element values to uint16. -// With each 128-bit as a group: -// The converted group from the first input vector will be packed to the lower part of the result vector, -// the converted group from the second input vector will be packed to the upper part of the result vector. -// Conversion is done with saturation on the vector elements. +// SaturateToUint16Concat converts element values to uint16 with unsigned saturation. // // Asm: VPACKUSDW, CPU Feature: AVX func (x Uint32x4) SaturateToUint16Concat(y Uint32x4) Uint16x8 -// SaturateToUint16Concat converts element values to uint16. -// With each 128-bit as a group: -// The converted group from the first input vector will be packed to the lower part of the result vector, -// the converted group from the second input vector will be packed to the upper part of the result vector. -// Conversion is done with saturation on the vector elements. +// SaturateToUint16Concat converts element values to uint16 with unsigned saturation. // // Asm: VPACKUSDW, CPU Feature: AVX2 func (x Uint32x8) SaturateToUint16Concat(y Uint32x8) Uint16x16 -// SaturateToUint16Concat converts element values to uint16. -// With each 128-bit as a group: -// The converted group from the first input vector will be packed to the lower part of the result vector, -// the converted group from the second input vector will be packed to the upper part of the result vector. -// Conversion is done with saturation on the vector elements. +// SaturateToUint16Concat converts element values to uint16 with unsigned saturation. // // Asm: VPACKUSDW, CPU Feature: AVX512 func (x Uint32x16) SaturateToUint16Concat(y Uint32x16) Uint16x32 /* SaturateToUint32 */ -// SaturateToUint32 converts element values to uint32. -// Conversion is done with saturation on the vector elements. +// SaturateToUint32 converts element values to uint32 with unsigned saturation. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVUSQD, CPU Feature: AVX512 func (x Uint64x2) SaturateToUint32() Uint32x4 -// SaturateToUint32 converts element values to uint32. -// Conversion is done with saturation on the vector elements. +// SaturateToUint32 converts element values to uint32 with unsigned saturation. // // Asm: VPMOVUSQD, CPU Feature: AVX512 func (x Uint64x4) SaturateToUint32() Uint32x4 -// SaturateToUint32 converts element values to uint32. -// Conversion is done with saturation on the vector elements. +// SaturateToUint32 converts element values to uint32 with unsigned saturation. // // Asm: VPMOVUSQD, CPU Feature: AVX512 func (x Uint64x8) SaturateToUint32() Uint32x8 @@ -7478,244 +7395,212 @@ func (x Float64x8) TruncScaledResidue(prec uint8) Float64x8 /* TruncateToInt8 */ -// TruncateToInt8 converts element values to int8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToInt8 truncates element values to int8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVWB, CPU Feature: AVX512 func (x Int16x8) TruncateToInt8() Int8x16 -// TruncateToInt8 converts element values to int8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToInt8 truncates element values to int8. // // Asm: VPMOVWB, CPU Feature: AVX512 func (x Int16x16) TruncateToInt8() Int8x16 -// TruncateToInt8 converts element values to int8. -// Conversion is done with truncation on the vector elements. +// TruncateToInt8 truncates element values to int8. // // Asm: VPMOVWB, CPU Feature: AVX512 func (x Int16x32) TruncateToInt8() Int8x32 -// TruncateToInt8 converts element values to int8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToInt8 truncates element values to int8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVDB, CPU Feature: AVX512 func (x Int32x4) TruncateToInt8() Int8x16 -// TruncateToInt8 converts element values to int8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToInt8 truncates element values to int8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVDB, CPU Feature: AVX512 func (x Int32x8) TruncateToInt8() Int8x16 -// TruncateToInt8 converts element values to int8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToInt8 truncates element values to int8. // // Asm: VPMOVDB, CPU Feature: AVX512 func (x Int32x16) TruncateToInt8() Int8x16 -// TruncateToInt8 converts element values to int8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToInt8 truncates element values to int8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQB, CPU Feature: AVX512 func (x Int64x2) TruncateToInt8() Int8x16 -// TruncateToInt8 converts element values to int8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToInt8 truncates element values to int8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQB, CPU Feature: AVX512 func (x Int64x4) TruncateToInt8() Int8x16 -// TruncateToInt8 converts element values to int8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToInt8 truncates element values to int8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQB, CPU Feature: AVX512 func (x Int64x8) TruncateToInt8() Int8x16 /* TruncateToInt16 */ -// TruncateToInt16 converts element values to int16. -// Conversion is done with truncation on the vector elements. +// TruncateToInt16 truncates element values to int16. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVDW, CPU Feature: AVX512 func (x Int32x4) TruncateToInt16() Int16x8 -// TruncateToInt16 converts element values to int16. -// Conversion is done with truncation on the vector elements. +// TruncateToInt16 truncates element values to int16. // // Asm: VPMOVDW, CPU Feature: AVX512 func (x Int32x8) TruncateToInt16() Int16x8 -// TruncateToInt16 converts element values to int16. -// Conversion is done with truncation on the vector elements. +// TruncateToInt16 truncates element values to int16. // // Asm: VPMOVDW, CPU Feature: AVX512 func (x Int32x16) TruncateToInt16() Int16x16 -// TruncateToInt16 converts element values to int16. -// Conversion is done with truncation on the vector elements. +// TruncateToInt16 truncates element values to int16. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQW, CPU Feature: AVX512 func (x Int64x2) TruncateToInt16() Int16x8 -// TruncateToInt16 converts element values to int16. -// Conversion is done with truncation on the vector elements. +// TruncateToInt16 truncates element values to int16. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQW, CPU Feature: AVX512 func (x Int64x4) TruncateToInt16() Int16x8 -// TruncateToInt16 converts element values to int16. -// Conversion is done with truncation on the vector elements. +// TruncateToInt16 truncates element values to int16. // // Asm: VPMOVQW, CPU Feature: AVX512 func (x Int64x8) TruncateToInt16() Int16x8 /* TruncateToInt32 */ -// TruncateToInt32 converts element values to int32. -// Conversion is done with truncation on the vector elements. +// TruncateToInt32 truncates element values to int32. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQD, CPU Feature: AVX512 func (x Int64x2) TruncateToInt32() Int32x4 -// TruncateToInt32 converts element values to int32. -// Conversion is done with truncation on the vector elements. +// TruncateToInt32 truncates element values to int32. // // Asm: VPMOVQD, CPU Feature: AVX512 func (x Int64x4) TruncateToInt32() Int32x4 -// TruncateToInt32 converts element values to int32. -// Conversion is done with truncation on the vector elements. +// TruncateToInt32 truncates element values to int32. // // Asm: VPMOVQD, CPU Feature: AVX512 func (x Int64x8) TruncateToInt32() Int32x8 /* TruncateToUint8 */ -// TruncateToUint8 converts element values to uint8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToUint8 truncates element values to uint8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVWB, CPU Feature: AVX512 func (x Uint16x8) TruncateToUint8() Uint8x16 -// TruncateToUint8 converts element values to uint8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToUint8 truncates element values to uint8. // // Asm: VPMOVWB, CPU Feature: AVX512 func (x Uint16x16) TruncateToUint8() Uint8x16 -// TruncateToUint8 converts element values to uint8. -// Conversion is done with truncation on the vector elements. +// TruncateToUint8 truncates element values to uint8. // // Asm: VPMOVWB, CPU Feature: AVX512 func (x Uint16x32) TruncateToUint8() Uint8x32 -// TruncateToUint8 converts element values to uint8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToUint8 truncates element values to uint8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVDB, CPU Feature: AVX512 func (x Uint32x4) TruncateToUint8() Uint8x16 -// TruncateToUint8 converts element values to uint8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToUint8 truncates element values to uint8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVDB, CPU Feature: AVX512 func (x Uint32x8) TruncateToUint8() Uint8x16 -// TruncateToUint8 converts element values to uint8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToUint8 truncates element values to uint8. // // Asm: VPMOVDB, CPU Feature: AVX512 func (x Uint32x16) TruncateToUint8() Uint8x16 -// TruncateToUint8 converts element values to uint8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToUint8 truncates element values to uint8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQB, CPU Feature: AVX512 func (x Uint64x2) TruncateToUint8() Uint8x16 -// TruncateToUint8 converts element values to uint8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToUint8 truncates element values to uint8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQB, CPU Feature: AVX512 func (x Uint64x4) TruncateToUint8() Uint8x16 -// TruncateToUint8 converts element values to uint8. -// Conversion is done with truncation on the vector elements. -// Results are packed to low elements in the returned vector, its upper elements are zero-cleared. +// TruncateToUint8 truncates element values to uint8. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQB, CPU Feature: AVX512 func (x Uint64x8) TruncateToUint8() Uint8x16 /* TruncateToUint16 */ -// TruncateToUint16 converts element values to uint16. -// Conversion is done with truncation on the vector elements. +// TruncateToUint16 truncates element values to uint16. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVDW, CPU Feature: AVX512 func (x Uint32x4) TruncateToUint16() Uint16x8 -// TruncateToUint16 converts element values to uint16. -// Conversion is done with truncation on the vector elements. +// TruncateToUint16 truncates element values to uint16. // // Asm: VPMOVDW, CPU Feature: AVX512 func (x Uint32x8) TruncateToUint16() Uint16x8 -// TruncateToUint16 converts element values to uint16. -// Conversion is done with truncation on the vector elements. +// TruncateToUint16 truncates element values to uint16. // // Asm: VPMOVDW, CPU Feature: AVX512 func (x Uint32x16) TruncateToUint16() Uint16x16 -// TruncateToUint16 converts element values to uint16. -// Conversion is done with truncation on the vector elements. +// TruncateToUint16 truncates element values to uint16. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQW, CPU Feature: AVX512 func (x Uint64x2) TruncateToUint16() Uint16x8 -// TruncateToUint16 converts element values to uint16. -// Conversion is done with truncation on the vector elements. +// TruncateToUint16 truncates element values to uint16. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQW, CPU Feature: AVX512 func (x Uint64x4) TruncateToUint16() Uint16x8 -// TruncateToUint16 converts element values to uint16. -// Conversion is done with truncation on the vector elements. +// TruncateToUint16 truncates element values to uint16. // // Asm: VPMOVQW, CPU Feature: AVX512 func (x Uint64x8) TruncateToUint16() Uint16x8 /* TruncateToUint32 */ -// TruncateToUint32 converts element values to uint32. -// Conversion is done with truncation on the vector elements. +// TruncateToUint32 truncates element values to uint32. +// Results are packed to low elements in the returned vector, its upper elements are zeroed. // // Asm: VPMOVQD, CPU Feature: AVX512 func (x Uint64x2) TruncateToUint32() Uint32x4 -// TruncateToUint32 converts element values to uint32. -// Conversion is done with truncation on the vector elements. +// TruncateToUint32 truncates element values to uint32. // // Asm: VPMOVQD, CPU Feature: AVX512 func (x Uint64x4) TruncateToUint32() Uint32x4 -// TruncateToUint32 converts element values to uint32. -// Conversion is done with truncation on the vector elements. +// TruncateToUint32 truncates element values to uint32. // // Asm: VPMOVQD, CPU Feature: AVX512 func (x Uint64x8) TruncateToUint32() Uint32x8 |
