From d38c09e5c40e97d155aa4602cd398ee432e9d876 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Wed, 18 Dec 2024 04:26:44 +0000 Subject: [PATCH] Sync SDL3 wiki -> header [ci skip] --- include/SDL3/SDL_intrin.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/SDL3/SDL_intrin.h b/include/SDL3/SDL_intrin.h index bf741f0b2c..534d85038e 100644 --- a/include/SDL3/SDL_intrin.h +++ b/include/SDL3/SDL_intrin.h @@ -25,25 +25,25 @@ * # CategoryIntrinsics * * SDL does some preprocessor gymnastics to determine if any CPU-specific - * compiler intrinsics are available, as this is not necessarily an easy - * thing to calculate, and sometimes depends on quirks of a system, versions - * of build tools, and other external forces. + * compiler intrinsics are available, as this is not necessarily an easy thing + * to calculate, and sometimes depends on quirks of a system, versions of + * build tools, and other external forces. * * Apps including SDL's headers will be able to check consistent preprocessor * definitions to decide if it's safe to use compiler intrinsics for a * specific CPU architecture. This check only tells you that the compiler is - * capable of using those intrinsics; at runtime, you should still check - * if they are available on the current system with the - * [CPU info functions](https://wiki.libsdl.org/SDL3/CategoryCPUInfo), such as - * SDL_HasSSE() or SDL_HasNEON(). Otherwise, the process might crash for using - * an unsupported CPU instruction. + * capable of using those intrinsics; at runtime, you should still check if + * they are available on the current system with the + * [CPU info functions](https://wiki.libsdl.org/SDL3/CategoryCPUInfo) + * , such as SDL_HasSSE() or SDL_HasNEON(). Otherwise, the process might crash + * for using an unsupported CPU instruction. * * SDL only sets preprocessor defines for CPU intrinsics if they are * supported, so apps should check with `#ifdef` and not `#if`. * * SDL will also include the appropriate instruction-set-specific support - * headers, so if SDL decides to define SDL_SSE2_INTRINSICS, it will - * also `#include ` as well. + * headers, so if SDL decides to define SDL_SSE2_INTRINSICS, it will also + * `#include ` as well. */ #ifndef SDL_intrin_h_