SDL/test
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
..
shapes Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
COPYING Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
Makefile.in Wayland support 2013-12-14 20:18:43 -03:00
README Adds controllermap utility to test suite. 2013-12-02 19:35:04 -03:00
acinclude.m4 Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
aclocal.m4 Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
autogen.sh Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
axis.bmp Adds controllermap utility to test suite. 2013-12-02 19:35:04 -03:00
button.bmp Adds controllermap utility to test suite. 2013-12-02 19:35:04 -03:00
checkkeys.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
configure Regenerate the configure scripts. 2013-11-25 00:11:52 -05:00
configure.in Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
controllermap.bmp Adds controllermap utility to test suite. 2013-12-02 19:35:04 -03:00
controllermap.c Fixed access of command line arguments on Android in two test programs. 2013-12-25 00:11:28 +01:00
gcc-fat.sh Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
icon.bmp Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
loopwave.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
moose.dat Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
picture.xbm Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
relative_mode.markdown Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
sample.bmp Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
sample.wav Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testatomic.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testaudioinfo.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_audio.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_clipboard.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_events.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_keyboard.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_main.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_mouse.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_pixels.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_platform.c Fixed bug 2376 - no SDL_HasAVX 2014-02-02 00:33:31 -08:00
testautomation_rect.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_render.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_rwops.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_sdltest.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_stdlib.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_suites.h Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_surface.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_syswm.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_timer.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testautomation_video.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testdraw2.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testdrawchessboard.c Fixed bug 2294 - testdrawchessboard.c Sets the render color alpha to 0x0. 2013-12-11 21:13:45 -08:00
testdropfile.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testerror.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testfile.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testfilesystem.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testgamecontroller.c Changed testgamecontroller to wait for controllers to be reattached, the way testjoystick does. 2013-12-23 15:55:08 -08:00
testgesture.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testgl2.c Wayland support 2013-12-14 20:18:43 -03:00
testgles.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testgles2.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testhaptic.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testiconv.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testime.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testintersections.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testjoystick.c Fixed access of command line arguments on Android in two test programs. 2013-12-25 00:11:28 +01:00
testkeys.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testloadso.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testlock.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testmessage.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testmultiaudio.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testnative.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testnative.h Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testnativecocoa.m Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testnativew32.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testnativex11.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testoverlay2.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testplatform.c Fixed bug 2376 - no SDL_HasAVX 2014-02-02 00:33:31 -08:00
testpower.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testrelative.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testrendercopyex.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testrendertarget.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testresample.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testrumble.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testscale.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testsem.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testshader.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testshape.c some fixes to the testshape.c code so it more correctly works. 2014-01-08 14:18:11 -05:00
testsprite2.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testspriteminimal.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
teststreaming.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testthread.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testtimer.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testver.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testviewport.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
testwm2.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
torturethread.c Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00
utf8.txt Improve Android pause/resume behavior. 2013-11-29 10:06:08 -03:00

README

These are test programs for the SDL library:

	checkkeys	Watch the key events to check the keyboard
	loopwave	Audio test -- loop playing a WAV file
	testaudioinfo	Lists audio device capabilities
	testcdrom	Sample audio CD control program
	testerror	Tests multi-threaded error handling
	testfile	Tests RWops layer
	testgl2		A very simple example of using OpenGL with SDL
	testhread	Hacked up test of multi-threading
	testiconv	Tests international string conversion
	testjoystick	List joysticks and watch joystick events
	testkeys	List the available keyboard keys
	testloadso	Tests the loadable library layer
	testlock	Hacked up test of multi-threading and locking
	testmultiaudio	Tests using several audio devices
	testoverlay2	Tests the overlay flickering/scaling during playback.
	testpalette	Tests palette color cycling
	testplatform	Tests types, endianness and cpu capabilities
	testsem		Tests SDL's semaphore implementation
	testshape	Tests shaped windows
	testsprite2	Example of fast sprite movement on the screen
	testtimer	Test the timer facilities
	testver		Check the version and dynamic loading and endianness
	testwm2		Test window manager -- title, icon, events
	torturethread	Simple test for thread creation/destruction
	controllermap   Useful to generate Game Controller API compatible maps