SDL-mirror/include
Sam Lantinga 420a70436c 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
..
begin_code.h SDL 2.0.0 defined __inline__ and some code relies on it now. 2013-10-22 21:53:58 -07:00
close_code.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
doxyfile Remove / update references to 1.2. 2013-06-27 17:07:24 -07:00
SDL.h OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_assert.h Workaround for compiling with /W4 warnings on Visual C++. 2013-09-07 13:57:20 -04:00
SDL_atomic.h Moved atomic API implementation out of headers. 2013-11-24 21:04:51 -05:00
SDL_audio.h OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_bits.h Fixed whitespace 2013-08-08 12:20:22 -07:00
SDL_blendmode.h Updated blend semantics so blending uses the following formula: 2013-07-23 08:06:49 -07:00
SDL_clipboard.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_config.h Added Ben Henning's GSoC2013 work: premake build system. 2013-11-10 00:38:37 -05:00
SDL_config.h.cmake We don't need to check for snprintf() anymore, we don't use it. 2013-11-24 23:36:15 -05:00
SDL_config.h.in Dynamic loading support for Wayland 2014-01-09 13:56:21 -03:00
SDL_config_android.h We don't need to check for snprintf() anymore, we don't use it. 2013-11-24 23:36:15 -05:00
SDL_config_iphoneos.h We don't need to check for snprintf() anymore, we don't use it. 2013-11-24 23:36:15 -05:00
SDL_config_macosx.h We don't need to check for snprintf() anymore, we don't use it. 2013-11-24 23:36:15 -05:00
SDL_config_minimal.h Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module. 2013-08-20 19:57:11 -04:00
SDL_config_pandora.h We don't need to check for snprintf() anymore, we don't use it. 2013-11-24 23:36:15 -05:00
SDL_config_psp.h We don't need to check for snprintf() anymore, we don't use it. 2013-11-24 23:36:15 -05:00
SDL_config_windows.h Added SDL_vsscanf(). 2013-11-24 23:35:38 -05:00
SDL_config_wiz.h We don't need to check for snprintf() anymore, we don't use it. 2013-11-24 23:36:15 -05:00
SDL_copying.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_cpuinfo.h Fixed bug 2376 - no SDL_HasAVX 2014-02-02 00:33:31 -08:00
SDL_egl.h OpenGL ES support for Windows 2013-11-22 13:24:53 -03:00
SDL_endian.h OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_error.h OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_events.h Added support for double-clicks, through a new "clicks" field in the mouse button event. 2013-12-23 12:17:52 -08:00
SDL_filesystem.h make the examples in the doc comments match the actual output of the SDL_GetPrefPath function 2013-08-24 09:43:14 -04:00
SDL_gamecontroller.h Added missing header for file IO 2013-12-05 09:54:22 -08:00
SDL_gesture.h Changed parameter name for gesture template save functions from "src" to "dst". 2013-11-02 12:07:21 +01:00
SDL_haptic.h OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_hints.h 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_joystick.h Fixed a few public APIs that we accidentally neglected to mark as SDLCALL. 2013-11-23 15:52:49 -05:00
SDL_keyboard.h Fixed bug 1916 - SDL_Keysym contains a deprecated field for unicode which may be removed. 2013-06-18 00:39:47 -07:00
SDL_keycode.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_loadso.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_log.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_main.h Fixed a few public APIs that we accidentally neglected to mark as SDLCALL. 2013-11-23 15:52:49 -05:00
SDL_messagebox.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_mouse.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_mutex.h OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_name.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_opengl.h Fixed Haiku build issue with missing extension support. 2013-05-21 22:48:50 -07:00
SDL_opengles.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_opengles2.h OpenGL ES support for Windows 2013-11-22 13:24:53 -03:00
SDL_pixels.h OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_platform.h Bump SDL to build with 10.7 SDK. 2013-12-27 10:18:11 -08:00
SDL_power.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_quit.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_rect.h Fixed bug 2081 - Add name to SDL_Point structure 2013-09-05 07:02:27 -07:00
SDL_render.h Fixed a few public APIs that we accidentally neglected to mark as SDLCALL. 2013-11-23 15:52:49 -05:00
SDL_revision.h Unofficial builds should have a 0 revision number - if this accidentally gets checked in with a different revision, this file should be reverted to this content. 2012-01-14 13:17:01 -05:00
SDL_rwops.h OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_scancode.h OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_shape.h Changed documentation comment for SDL_CreateShapedWindow(). 2013-07-20 21:55:15 +02:00
SDL_stdinc.h Added SDL_vsscanf(). 2013-11-24 23:35:38 -05:00
SDL_surface.h The SDL_PixelFormat* passed to SDL_ConvertSurface() should be const. 2013-09-04 23:40:11 -04:00
SDL_system.h Call AddRef() on the device so it doesn't accidentally get released from underneath the caller. 2013-09-28 14:07:17 -07:00
SDL_syswm.h Preserve binary compatibility in SDL_SYSWM_TYPE (thanks Gerry JJ!) 2014-01-28 09:13:46 -03:00
SDL_test.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_assert.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_common.h Added space in the common state structure for render targets 2013-11-15 22:01:58 -08:00
SDL_test_compare.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_crc32.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_font.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_fuzzer.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_harness.h OCD fixes: Adds a space after /* (glory to regular expressions!) 2013-08-21 09:47:10 -03:00
SDL_test_images.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_log.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_md5.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_test_random.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_thread.h Implemented the Dynamic API magic. 2013-12-09 16:03:18 -05:00
SDL_timer.h Added a macro SDL_TICKS_PASSED() to correctly compare two 32-bit tick values. 2013-10-20 20:42:55 -07:00
SDL_touch.h File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
SDL_types.h Backout hg changset 898992405fa7; lots of things still use SDL_types.h. :/ 2013-07-09 11:57:32 -04:00
SDL_version.h Updated SDL to version 2.0.1 2013-10-10 21:50:25 -07:00
SDL_video.h Add SDL_GL_ResetAttributes. 2014-01-29 18:38:13 -08:00