Ozkan Sezer
fd6ec3b9aa
SDL_intrin.h: adjust for new SDL_PLATFORM_WINDOWS meaning.
2024-01-24 21:20:50 +03:00
Anonymous Maarten
31d133db40
Define SDL_PLATFORM_* macros instead of underscored ones ( #8875 )
2024-01-24 01:40:51 +00:00
Sam Lantinga
5b3ee51c6c
Updated copyright for 2024
2024-01-01 13:15:26 -08:00
Ryan C. Gordon
c53843a961
docs: Remove Doxygen `\brief` tags.
...
Doxygen and the wiki bridge don't need them; they'll both just use the first
line/sentence instead.
Fixes #8446 .
2023-11-06 10:26:06 -05:00
Anonymous Maarten
b6ae281e97
Use #ifdef/#ifndef instead of #if defined/#if \!defined
2023-03-30 21:35:01 +00:00
Anonymous Maarten
b99f380498
intrinsics: add lsx/lasx intrinsic headers when not disabled
...
__attribute__((target(xx))) is not supported by LoongArch64.
The following warning is emitted:
target attribute is not supported on this machine [-Wattributes]
2023-03-30 04:00:48 +02:00
Anonymous Maarten
46f5c1fe6a
Move and rename SDL_rdtsc macro to testautomation
2023-03-27 06:12:49 +00:00
Anonymous Maarten
e2f51bf38e
SDL_intrin.h: add SDL_rdtsc macro
2023-03-27 06:12:49 +00:00
Ozkan Sezer
f5a92092e1
SDL_intrin.h: workaround clang-cl failures when avx isn't enabled.
2023-03-21 23:03:02 +03:00
Ozkan Sezer
5d4d11f92f
SDL_intrin.h: fixed typo in AVX2 checks.
2023-03-21 23:03:02 +03:00
Anonymous Maarten
0bd5ce13db
cmake: add underscore in SSE4_1 and SSE4_2 options
2023-03-21 23:03:02 +03:00
Ozkan Sezer
6c9780720b
cmake: added configuration options for AVX2, AVX512F, SSE4.1, and SSE4.2
...
adjusted SDL_intrin.h and testautomation_intrinsics.c accordingly.
2023-03-21 23:03:02 +03:00
Ozkan Sezer
260bb1c661
SDL_intrin.h: fixed disabler macro name for SSE4.1
2023-03-21 23:03:02 +03:00
Anonymous Maarten
cb46cbe684
include: include intrinsics headers for RDTSC SSE4.1 and SSE4.2
2023-03-21 23:03:02 +03:00
Ozkan Sezer
1dbe6447ee
SDL_intrin.h: simplified MSVC preprocessor conditions.
...
Also removed definings of gcc-specific macros for MSVC.
2023-03-21 23:03:02 +03:00
Anonymous Maarten
b5b9ddb205
SDL_intrin.h: define SDL_<simd>_INTRINSICS in user-visible header
2023-03-21 23:03:02 +03:00
Ozkan Sezer
41c693dc25
build fix for non-x86 targets.
2023-03-21 23:03:02 +03:00
Ozkan Sezer
69de6964e5
use target attributes of gcc / clang for SIMD code.
2023-03-21 23:03:02 +03:00
Anonymous Maarten
d27db3defa
cmake+video: always use altivec.h header for detection + introduce SDL_ENABLE_ALTIVEC
2023-03-15 14:54:20 +01:00
Anonymous Maarten
fc4085b54e
cmake: Allow build system to disable arm neon intrinsics
2023-03-15 14:54:20 +01:00
Anonymous Maarten
46de6241d7
cmake: Allow build system to disable loongarch intrinsics
2023-03-15 14:54:20 +01:00
Anonymous Maarten
4681240241
cmake: Detect AVX + allow build system to disable Intel intrinsics
2023-03-15 14:54:20 +01:00
Anonymous Maarten
549cedfa88
include: add \brief to includes
2023-02-19 10:01:33 -08:00
Sam Lantinga
0ead89747a
Fixed filename comment in SDL_intrin.h
2023-01-10 21:05:38 -08:00
Sam Lantinga
dc280c17a0
Moved SDL_intrin.h back into the public headers for application use
2023-01-10 15:50:35 -08:00