<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/simd/simd_ushort8",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "simd"
    ],
    "preciseIdentifier" : "c:@T@simd_ushort8"
  },
  "title" : "simd_ushort8"
}
-->

# simd_ushort8

A vector of eight 16-bit unsigned integer elements.

```
typealias simd_ushort8 = SIMD8<UInt16>
```

## Topics

### Functions to Create Eight-Element Vectors From Other Vectors

[`simd_make_ushort8(_:)`](/documentation/simd/simd_make_ushort8(_:)-1e906)

Returns a new vector from the specified two-element vector, and other elements set to zero.

[`simd_make_ushort8(_:)`](/documentation/simd/simd_make_ushort8(_:)-1henz)

Returns a new vector from the specified three-element vector, and other elements set to zero.

[`simd_make_ushort8(_:)`](/documentation/simd/simd_make_ushort8(_:)-17t38)

Returns a new vector from the specified four-element vector, and other elements set to zero.

[`simd_make_ushort8(_:)`](/documentation/simd/simd_make_ushort8(_:)-2e4yw)

Returns a new vector from the specified vector.

[`simd_make_ushort8(_:)`](/documentation/simd/simd_make_ushort8(_:)-5yzvk)

Returns a new vector by truncating the specified sixteen-element vector.

[`simd_make_ushort8(_:)`](/documentation/simd/simd_make_ushort8(_:)-4t9gk)

Returns a new vector by truncating the specified thrity two-element vector.

[`simd_make_ushort8(_:_:)`](/documentation/simd/simd_make_ushort8(_:_:))

Returns a new vector from the specified vectors.

[`vector8`](/documentation/simd/vector8-411sw)

Returns a new vector from the specified vectors.

[`simd_make_ushort8_undef(_:)`](/documentation/simd/simd_make_ushort8_undef(_:)-49rg0)

Returns a new vector from the specified two-element vector, and other elements undefined.

[`simd_make_ushort8_undef(_:)`](/documentation/simd/simd_make_ushort8_undef(_:)-46lw9)

Returns a new vector from the specified three-element vector, and other elements undefined.

[`simd_make_ushort8_undef(_:)`](/documentation/simd/simd_make_ushort8_undef(_:)-416aa)

Returns a new vector from the specified four-element vector, and other elements undefined.

### Functions to Create Eight-Element Vectors From Scalar Values

[`simd_make_ushort8(_:)`](/documentation/simd/simd_make_ushort8(_:)-66ltd)

Returns a new vector with the first element set to a scalar value, and other elements set to zero.

[`simd_make_ushort8_undef(_:)`](/documentation/simd/simd_make_ushort8_undef(_:)-wluw)

Returns a new vector with the first element set to a scalar value, and other elements undefined.

### Functions to Create Eight-Element Vectors From Vectors of Other Types

[`simd_ushort`](/documentation/simd/simd_ushort-443vh)

Returns a new vector from the specified vector of 8-bit, signed integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-44dr1)

Returns a new vector from the specified vector of 8-bit, unsigned integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-448v1)

Returns a new vector from the specified vector of 16-bit, signed integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-44iu5)

Returns a new vector from the specified vector of 16-bit, unsigned integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-446z9)

Returns a new vector from the specified vector of 32-bit, signed integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-44gyd)

Returns a new vector from the specified vector of 32-bit, unsigned integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-44617)

Returns a new vector from the specified vector of 64-bit, signed integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-44fwr)

Returns a new vector from the specified vector of 64-bit, unsigned integer elements.

[`simd_ushort`](/documentation/simd/simd_ushort-44cwv)

Returns a new vector from the specified vector of 32-bit, floating-point elements.

[`simd_ushort`](/documentation/simd/simd_ushort-44dgr)

Returns a new vector from the specified vector of 32-bit, floating-point elements.

### Functions to Perform Saturating Conversion From Vectors of Other Types

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-8fsa4)

Returns a new vector from the specified vector of 8-bit, signed integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-8fi24)

Returns a new vector from the specified vector of 8-bit, unsigned integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-8fn0s)

Returns a new vector from the specified vector of 16-bit, signed integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-8fd8s)

Returns a new vector from the specified vector of 16-bit, unsigned integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-8fq7o)

Returns a new vector from the specified vector of 32-bit, signed integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-8fgdw)

Returns a new vector from the specified vector of 32-bit, unsigned integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-8foko)

Returns a new vector from the specified vector of 64-bit, signed integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-8feug)

Returns a new vector from the specified vector of 64-bit, unsigned integer elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-8fgi0)

Returns a new vector from the specified vector of 32-bit, floating-point elements.

[`simd_ushort_sat`](/documentation/simd/simd_ushort_sat-8fh48)

Returns a new vector from the specified vector of 64-bit, floating-point elements.

### Common Functions

[`simd_clamp(_:_:_:)`](/documentation/simd/simd_clamp(_:_:_:)-81cik)

Returns each element in a vector clamped to a specified range.

[`simd_equal(_:_:)`](/documentation/simd/simd_equal(_:_:)-3fkex)

Returns true if every element in a vector is exactly equal to the corresponding element in a second vector, and otherwise returns false.

### Reduce Functions

[`simd_reduce_min(_:)`](/documentation/simd/simd_reduce_min(_:)-3oh9i)

Returns the miniumum value in a vector.

[`simd_reduce_max(_:)`](/documentation/simd/simd_reduce_max(_:)-55hce)

Returns the maximum value in a vector.

[`simd_reduce_add(_:)`](/documentation/simd/simd_reduce_add(_:)-3b3cs)

Returns the sum of all elements in a vector.

### Extrema Functions

[`simd_min(_:_:)`](/documentation/simd/simd_min(_:_:)-2600d)

Returns the minimum value of each element in a vector.

[`simd_max(_:_:)`](/documentation/simd/simd_max(_:_:)-30jsw)

Returns the maximum value of each element in a vector.

### Logic and Bitwise Functions

[`simd_any(_:)`](/documentation/simd/simd_any(_:)-6pgp3)

[`simd_all(_:)`](/documentation/simd/simd_all(_:)-1yk7d)

[`simd_bitselect(_:_:_:)`](/documentation/simd/simd_bitselect(_:_:_:)-4yay5)

Returns a vector that contains elements from either the first or second parameter, based on the corresponding element in the third parameter.

### Alternative Type Alias

[`vector_ushort8`](/documentation/simd/vector_ushort8)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)