---
name: "SDL_HasSSE42"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_HasSSE42"
---

# SDL\_HasSSE42(3)

Determine whether the CPU has SSE4.2 features.

## NAME

SDL\_HasSSE42 - Determine whether the CPU has SSE4.2 features.

## HEADER FILE

Defined in SDL3/SDL\_cpuinfo.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**bool SDL\_HasSSE42(void);**

## DESCRIPTION

This always returns false on CPUs that aren't using Intel instruction sets.

## RETURN VALUE

Returns true if the CPU has SSE4.2 features or false if not.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_HasSSE**(3)](/SDL_HasSSE/3.md), **•**(3), [**SDL\_HasSSE2**(3)](/SDL_HasSSE2/3.md), **•**(3), [**SDL\_HasSSE3**(3)](/SDL_HasSSE3/3.md), **•**(3), [**SDL\_HasSSE41**(3)](/SDL_HasSSE41/3.md)
