<!--
{
  "availability" : [

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

# simd_char8

A vector of eight 8-bit signed integer elements.

```
typealias simd_char8 = SIMD8<CChar>
```

## Topics

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

[`simd_make_char8(_:)`](/documentation/simd/simd_make_char8(_:)-3e9h4)

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

[`simd_make_char8(_:)`](/documentation/simd/simd_make_char8(_:)-39q4x)

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

[`simd_make_char8(_:)`](/documentation/simd/simd_make_char8(_:)-3y2oy)

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

[`simd_make_char8(_:)`](/documentation/simd/simd_make_char8(_:)-4c00u)

Returns a new vector from the specified vector.

[`simd_make_char8(_:)`](/documentation/simd/simd_make_char8(_:)-497r7)

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

[`simd_make_char8(_:)`](/documentation/simd/simd_make_char8(_:)-tbln)

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

[`simd_make_char8(_:)`](/documentation/simd/simd_make_char8(_:)-4m1k5)

Returns a new vector by truncating the specified sixty four-element vector.

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

Returns a new vector from the specified vectors.

[`vector8`](/documentation/simd/vector8-73z2d)

Returns a new vector from the specified vectors.

[`simd_make_char8_undef(_:)`](/documentation/simd/simd_make_char8_undef(_:)-4zw8k)

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

[`simd_make_char8_undef(_:)`](/documentation/simd/simd_make_char8_undef(_:)-53bml)

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

[`simd_make_char8_undef(_:)`](/documentation/simd/simd_make_char8_undef(_:)-5kqwe)

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_char8(_:)`](/documentation/simd/simd_make_char8(_:)-2wraz)

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

[`simd_make_char8_undef(_:)`](/documentation/simd/simd_make_char8_undef(_:)-830qy)

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_char`](/documentation/simd/simd_char-7azp6)

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

[`simd_char`](/documentation/simd/simd_char-7apve)

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

[`simd_char`](/documentation/simd/simd_char-7b4ze)

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

[`simd_char`](/documentation/simd/simd_char-7aure)

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

[`simd_char`](/documentation/simd/simd_char-7b2w6)

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

[`simd_char`](/documentation/simd/simd_char-7at2e)

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

[`simd_char`](/documentation/simd/simd_char-7b3y6)

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

[`simd_char`](/documentation/simd/simd_char-7au4e)

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

[`simd_char`](/documentation/simd/simd_char-7aqw2)

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

[`simd_char`](/documentation/simd/simd_char-7arha)

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

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

[`simd_char_sat`](/documentation/simd/simd_char_sat-1k3vb)

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

[`simd_char_sat`](/documentation/simd/simd_char_sat-1kdqv)

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

[`simd_char_sat`](/documentation/simd/simd_char_sat-1jyvr)

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

[`simd_char_sat`](/documentation/simd/simd_char_sat-1k8uv)

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

[`simd_char_sat`](/documentation/simd/simd_char_sat-1k1zv)

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

[`simd_char_sat`](/documentation/simd/simd_char_sat-1kbyz)

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

[`simd_char_sat`](/documentation/simd/simd_char_sat-1k125)

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

[`simd_char_sat`](/documentation/simd/simd_char_sat-1kb19)

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

[`simd_char_sat`](/documentation/simd/simd_char_sat-1kcv9)

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

[`simd_char_sat`](/documentation/simd/simd_char_sat-1kdj1)

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

### Common Functions

[`simd_abs(_:)`](/documentation/simd/simd_abs(_:)-7oowg)

Returns the absolute value of each element in a vector.

[`simd_clamp(_:_:_:)`](/documentation/simd/simd_clamp(_:_:_:)-6t9ze)

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

[`simd_equal(_:_:)`](/documentation/simd/simd_equal(_:_:)-7xed4)

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(_:)-3omfa)

Returns the miniumum value in a vector.

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

Returns the maximum value in a vector.

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

Returns the sum of all elements in a vector.

### Extrema Functions

[`simd_min(_:_:)`](/documentation/simd/simd_min(_:_:)-66w6r)

Returns the minimum value of each element in a vector.

[`simd_max(_:_:)`](/documentation/simd/simd_max(_:_:)-1zyht)

Returns the maximum value of each element in a vector.

### Logic and Bitwise Functions

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

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

[`simd_bitselect(_:_:_:)`](/documentation/simd/simd_bitselect(_:_:_:)-5bgc3)

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_char8`](/documentation/simd/vector_char8)



---

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)