Sam Lantinga
8728ce4448
Fixed bug 4557 - SDL_SIMDAlloc and *Free should be in the public interface
...
Martin Gerhardy
These functions are really useful and should get exposed imo.
2019-06-08 14:54:37 -07:00
Sam Lantinga
b2e76d860f
Fixed Windows RT build
2019-03-19 16:52:09 -07:00
Sam Lantinga
5e13087b0f
Updated copyright for 2019
2019-01-04 22:01:14 -08:00
Sylvain Becker
09b462044f
Windows: NEON detection and intrinsic includes on Visual Studio
...
Visual Studio doesn't define __ARM_ARCH nor _ARM_NEON, but _M_ARM and _M_ARM64,
so SDL_HasNEON() was bypassed.
PF_ARM_NEON_INSTRUCTIONS_AVAILABLE doesn't see to be defined (but still works
when defined as 19).
2018-12-04 16:50:31 +01:00
Ryan C. Gordon
3323b355c9
android: use cpufeatures to support SDL_HasNEON() (thanks, Sylvain!).
...
Fixes Bugzilla #4406 .
2018-12-01 12:19:11 -05:00
Sam Lantinga
7df0f4fdac
Fixed bug 4277 - warnings patch
...
Sylvain
Patch a few warnings when using:
-Wmissing-prototypes -Wdocumentation -Wdocumentation-unknown-command
They are automatically enabled with -Wall
2018-09-27 14:56:29 -07:00
Ryan C. Gordon
4df859c586
cpuinfo: Added SDL_HasAVX512F().
...
This checks for the "foundation" AVX-512 instructions (that all AVX-512
compatible CPUs support).
2018-05-21 11:35:42 -04:00
Ryan C. Gordon
4718791f11
cpuinfo: Make CPU flags easier to read and add to.
2018-05-14 00:03:39 -04:00
Ryan C. Gordon
8543ad7df1
cpuinfo: Added some internal SIMD-aligned allocation functions.
...
Fixes Bugzilla #4150 (sort of).
2018-05-21 11:34:57 -04:00
Sam Lantinga
e3cc5b2c6b
Updated copyright for 2018
2018-01-03 10:03:25 -08:00
Sam Lantinga
20364769e0
Fixed typo in comment
2017-11-11 17:21:47 -08:00
Sam Lantinga
b821ded96c
SDL_cpuinfo.c: add os/2 support to SDL_GetCPUCount() and SDL_GetSystemRAM().
2017-08-21 13:00:40 -07:00
Ryan C. Gordon
adecda5080
cpuinfo: Add SDL_HasNEON() support for ARM-based QNX.
2017-08-16 21:31:03 -04:00
Sam Lantinga
c1802ef646
Fixed compile error with gcc -std=c99
2017-03-06 21:25:06 -08:00
Ryan C. Gordon
ca0bf151d5
Fix some more compiler warnings on armcc.
2017-03-03 16:38:17 -05:00
Sam Lantinga
45b774e3f7
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Ryan C. Gordon
a949882a98
cpuinfo: fix SDL_HasNEON() on older iOS devices, fixed C++ comment.
2016-11-21 20:35:59 -05:00
Ryan C. Gordon
32cb34945e
cpuinfo: patched to compile for getauxval() path.
2016-11-17 17:03:43 -05:00
Ryan C. Gordon
0b33a1188b
cpuinfo: more patching for Android. Legacy platform targets are a pain.
2016-11-17 16:10:32 -05:00
Ryan C. Gordon
a298e56349
cpuinfo: Patched to compile on Android, Linux.
2016-11-17 16:04:00 -05:00
Ryan C. Gordon
e8f4b7c4f5
cpuinfo: patched to compile.
...
Nothing quite like experimentation via Buildbot! :/
2016-11-17 16:01:59 -05:00
Ryan C. Gordon
74eb78dcbf
cpuinfo: more work on SDL_HasNEON().
2016-11-17 15:57:58 -05:00
Ryan C. Gordon
db97c3d3e8
cpuinfo: silence compiler warnings on non-Intel CPU architectures.
2016-11-17 01:41:56 -05:00
Ryan C. Gordon
66a36d5660
cpuinfo: disable NEON detection on Android for now.
...
Will fix this properly soon.
2016-11-17 01:34:18 -05:00
Ryan C. Gordon
5c6b2ebf2d
cpuinfo: more robust ARM preprocessor checks.
2016-11-17 01:26:56 -05:00
Ryan C. Gordon
35430a73f2
cpuinfo: first attempt at SDL_HasNEON() implementation.
2016-11-17 01:15:16 -05:00
Ryan C. Gordon
7592b40b39
cpuinfo: Removed code duplication, cached CPUID details.
2016-11-16 22:49:04 -05:00
Sam Lantinga
42065e785d
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Ryan C. Gordon
696cd7975c
NetBSD: fixed issues with cpuinfo and pthread_setname_np (thanks, Thomas!).
...
Fixes Bugzilla #3176 .
2015-12-29 02:32:47 -05:00
Philipp Wiesemann
0e45984fa0
Fixed crash if initialization of EGL failed but was tried again later.
...
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
2015-06-21 17:33:46 +02:00