SDL/src
Sam Lantinga 3bd0e9002e Fixed bug 2376 - no SDL_HasAVX
Haneef Mubarak

AVX is the successor to SSE* and is fairly widely available. As such, it really ought to be detectable.

This functionality ought to be trivial to implement, and not having it means being forced to write an ugly workaround to check for AVX (so that normal SSE can be used if AVX is not available).

Here is an example on detecting AVX from SO (it actually shows ways to cehck for all of teh fancy instructions):

http://stackoverflow.com/questions/6121792/how-to-check-if-a-cpu-supports-the-sse3-instruction-set
2014-02-02 00:33:31 -08:00
..
atomic Patched to compile on Android (I think). 2014-01-08 00:40:48 -05:00
audio Implemented the Dynamic API magic. 2013-12-09 16:03:18 -05:00
core fixed hat code validation. 2014-01-28 15:28:20 -08:00
cpuinfo Fixed bug 2376 - no SDL_HasAVX 2014-02-02 00:33:31 -08:00
dynapi Fixed bug 2376 - no SDL_HasAVX 2014-02-02 00:33:31 -08:00
events Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
file Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
filesystem Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
haptic Implemented the Dynamic API magic. 2013-12-09 16:03:18 -05:00
joystick fixed hat code validation. 2014-01-28 15:28:20 -08:00
libm Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
loadso Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
main Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
power Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
render Patched to compile...uh, everywhere. :) 2014-01-27 16:13:13 -05:00
stdlib Patched stdlib changes to compile on Windows. 2013-12-09 13:30:35 -05:00
test Fixed spaces in source file license comment. 2014-01-29 00:29:14 +01:00
thread Implemented the Dynamic API magic. 2013-12-09 16:03:18 -05:00
timer Implemented the Dynamic API magic. 2013-12-09 16:03:18 -05:00
video Add a new hint SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT that allows SDL_CreateWindowFrom() to set the pixel format of another SDL_Window (and also will set the SDL_WINDOW_OPENGL flag on the window created with SDL_CreateWindowFrom()). 2014-01-30 12:30:40 -08:00
SDL.c Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
SDL_assert.c Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
SDL_assert_c.h Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
SDL_error.c Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
SDL_error_c.h Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
SDL_hints.c Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
SDL_internal.h Implemented the Dynamic API magic. 2013-12-09 16:03:18 -05:00
SDL_log.c Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00