aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
Commit message (Collapse)AuthorAgeFilesLines
* Use fegetenv/fesetenv to backup and restore the FPU stateChris Robinson2013-05-221-4/+4
|
* Merge the fesetround FPU handler with the assembly oneChris Robinson2013-05-221-22/+23
| | | | | | The assembly is only needed for SSE since we can't access the intrinsics without the -msse switch, which itself would cause SSE code to be generated elsewhere automtically.
* Check for SSE2 and set the denormals-are-zero bit for mixing if availableChris Robinson2013-05-221-3/+14
|
* Set the correct SSE bits for round-to-zeroChris Robinson2013-05-221-1/+1
|
* Avoid using a temp buffer for al_printChris Robinson2013-05-221-12/+5
| | | | | | | | It's now using two *printf calls, which unfortuantely means there could be a race between the two and cause the message to break up if something else tries to print to the same file. This shouldn't really be a big deal since al_print isn't used that often, and it now allows for lines of practically unlimited length.
* Explicitly check for malloc.hChris Robinson2012-11-251-1/+1
|
* malloc.h isn't standard, and is only needed for _aligned_mallocChris Robinson2012-11-251-1/+3
|
* Avoid storing the SSE state if it's not supportedChris Robinson2012-11-131-1/+4
|
* Include standard headers before conditional onesChris Robinson2012-11-041-7/+6
|
* Don't assume x86 or x64 to use IsProcessorFeaturePresentChris Robinson2012-10-081-3/+2
|
* Fix a type conversion warningChris Robinson2012-10-081-2/+3
|
* Use IsProcessorFeaturePresent to detect SSE on WindowsChris Robinson2012-10-071-0/+10
|
* Revert "Use __cpuid from intrin.h in Windows when available"Chris Robinson2012-10-071-33/+0
| | | | This reverts commit 6b870714a91c9607acc4501234a00c7c94fa2b85.
* Use __cpuid from intrin.h in Windows when availableChris Robinson2012-10-071-0/+33
|
* Add trace, warn, and error markers to logged outputChris Robinson2012-10-071-3/+3
|
* Include windows.h before cpuid.h to avoid __cpuid clashesChris Robinson2012-10-061-17/+17
|
* Precision control bits don't exist with SSEChris Robinson2012-09-181-5/+4
|
* Win64 doesn't allow _controlfp or __control87_2 to set the precision control ↵Chris Robinson2012-09-181-0/+6
| | | | bits
* Properly restore the SSE control word with __control87_2Chris Robinson2012-09-161-1/+1
|
* Properly handle the SSE control wordChris Robinson2012-09-161-16/+37
|
* Use __control87_2 when availableChris Robinson2012-09-161-0/+7
|
* Use a struct to store the FPU modeChris Robinson2012-09-161-12/+9
|
* Don't include alu.h in alMain.hChris Robinson2012-09-141-0/+6
|
* Enable flush-to-zero mode when possibleChris Robinson2012-09-141-0/+40
|
* Use _aligned_free for pointers returned by _aligned_mallocChris Robinson2012-08-241-1/+3
|
* Fix aligned allocator fallbackChris Robinson2012-08-161-3/+2
|
* Check the max CPUID functions before calling themChris Robinson2012-08-151-4/+11
|
* Add wrapper methods to ensure aligned allocationsChris Robinson2012-08-151-0/+48
|
* Check the correct macro for ARM Neon supportChris Robinson2012-08-151-1/+1
|
* Don't bother handling MMX since we don't use itChris Robinson2012-08-151-8/+3
|
* Add a config option to disable use of CPU extensionsChris Robinson2012-08-131-8/+11
|
* Check for some CPU extensionsChris Robinson2012-08-131-0/+55
|
* Add some includesChris Robinson2012-06-201-0/+9
|
* Remove an unused property key definitionChris Robinson2012-03-121-2/+0
|
* Don't use GUIDs to ID mmdevapi devices, and don't enumerate if not neededChris Robinson2012-03-011-0/+16
|
* Support device enumeration with mmdevapiChris Robinson2012-02-161-0/+8
|
* Don't fail to insert a map entry when the key exists and the limit is reachedChris Robinson2011-11-261-9/+9
|
* Return the key's value from the map when it's removedChris Robinson2011-10-061-30/+4
|
* Only warn when a symbol fails to loadChris Robinson2011-09-241-1/+1
|
* Move Sleep implementation into helper.c and emulate sched_yield for WindowsChris Robinson2011-09-201-2/+12
|
* Fix indentationChris Robinson2011-09-201-1/+1
|
* Log the function name instead of the source file and line numberChris Robinson2011-09-021-8/+2
|
* Don't set a thread priority if real-time isn't requestedChris Robinson2011-08-311-10/+2
|
* Add a function to initialize a RWLockChris Robinson2011-08-311-5/+10
|
* Add a limit to the UIntMap size and use it for sources and effect slotsChris Robinson2011-08-301-1/+8
|
* Add functions to retrieve the source from the source map while removing itChris Robinson2011-08-301-0/+29
|
* Use a generic int type to handle enum swapsChris Robinson2011-08-291-2/+2
|
* Use a read-write lock to protect access to the UInt mapsChris Robinson2011-08-291-7/+65
|
* Emulate pthread TLS functions in WindowsChris Robinson2011-08-281-0/+26
|
* Move the GUID initialization to the helperChris Robinson2011-08-201-0/+21
|