Chris Robinson
|
0ca7ab2cf8
|
Explicitly check for malloc.h
|
2012-11-25 19:20:35 -08:00 |
|
Chris Robinson
|
a0c39989f5
|
malloc.h isn't standard, and is only needed for _aligned_malloc
|
2012-11-25 02:33:20 -08:00 |
|
Chris Robinson
|
0518ecca14
|
Avoid storing the SSE state if it's not supported
|
2012-11-13 15:20:36 -08:00 |
|
Chris Robinson
|
2f07c46e20
|
Include standard headers before conditional ones
|
2012-11-04 22:36:34 -08:00 |
|
Chris Robinson
|
a98361ebbe
|
Don't assume x86 or x64 to use IsProcessorFeaturePresent
|
2012-10-08 00:43:51 -07:00 |
|
Chris Robinson
|
999f0783c5
|
Fix a type conversion warning
|
2012-10-08 00:32:35 -07:00 |
|
Chris Robinson
|
65c7c468cc
|
Use IsProcessorFeaturePresent to detect SSE on Windows
|
2012-10-07 08:18:22 -07:00 |
|
Chris Robinson
|
ebdf636759
|
Revert "Use __cpuid from intrin.h in Windows when available"
This reverts commit 6b870714a91c9607acc4501234a00c7c94fa2b85.
|
2012-10-07 08:08:11 -07:00 |
|
Chris Robinson
|
6b870714a9
|
Use __cpuid from intrin.h in Windows when available
|
2012-10-07 05:36:25 -07:00 |
|
Chris Robinson
|
708f3ccc3d
|
Add trace, warn, and error markers to logged output
|
2012-10-07 04:31:31 -07:00 |
|
Chris Robinson
|
d52cb3708b
|
Include windows.h before cpuid.h to avoid __cpuid clashes
|
2012-10-06 21:30:03 -07:00 |
|
Chris Robinson
|
f0732426f2
|
Precision control bits don't exist with SSE
|
2012-09-18 15:08:36 -07:00 |
|
Chris Robinson
|
e779e64c95
|
Win64 doesn't allow _controlfp or __control87_2 to set the precision control bits
|
2012-09-18 11:20:48 -07:00 |
|
Chris Robinson
|
95535ce99e
|
Properly restore the SSE control word with __control87_2
|
2012-09-16 06:01:48 -07:00 |
|
Chris Robinson
|
df2e82da78
|
Properly handle the SSE control word
|
2012-09-16 05:35:38 -07:00 |
|
Chris Robinson
|
a1daec66e2
|
Use __control87_2 when available
|
2012-09-16 01:44:45 -07:00 |
|
Chris Robinson
|
657ee85136
|
Use a struct to store the FPU mode
|
2012-09-16 01:35:16 -07:00 |
|
Chris Robinson
|
0f3a575a09
|
Don't include alu.h in alMain.h
|
2012-09-14 02:14:29 -07:00 |
|
Chris Robinson
|
ec74fb9ba2
|
Enable flush-to-zero mode when possible
|
2012-09-14 01:10:19 -07:00 |
|
Chris Robinson
|
3b735cc34a
|
Use _aligned_free for pointers returned by _aligned_malloc
|
2012-08-24 17:45:16 -07:00 |
|
Chris Robinson
|
3c395a82db
|
Fix aligned allocator fallback
|
2012-08-16 10:30:13 -07:00 |
|
Chris Robinson
|
f4ff63e271
|
Check the max CPUID functions before calling them
|
2012-08-15 06:28:45 -07:00 |
|
Chris Robinson
|
2859357939
|
Add wrapper methods to ensure aligned allocations
|
2012-08-15 05:50:40 -07:00 |
|
Chris Robinson
|
6ebeb3b4f7
|
Check the correct macro for ARM Neon support
|
2012-08-15 01:32:17 -07:00 |
|
Chris Robinson
|
2e18baa3c8
|
Don't bother handling MMX since we don't use it
|
2012-08-15 01:29:19 -07:00 |
|
Chris Robinson
|
17dfaa3aae
|
Add a config option to disable use of CPU extensions
|
2012-08-13 10:37:49 -07:00 |
|
Chris Robinson
|
add53e28c2
|
Check for some CPU extensions
|
2012-08-13 09:07:01 -07:00 |
|
Chris Robinson
|
6f3be31b60
|
Add some includes
|
2012-06-20 03:01:19 -07:00 |
|
Chris Robinson
|
7747c320a8
|
Remove an unused property key definition
|
2012-03-12 12:56:52 -07:00 |
|
Chris Robinson
|
8d24bd720f
|
Don't use GUIDs to ID mmdevapi devices, and don't enumerate if not needed
|
2012-03-01 06:07:00 -08:00 |
|
Chris Robinson
|
10257f485a
|
Support device enumeration with mmdevapi
|
2012-02-16 17:04:08 -08:00 |
|
Chris Robinson
|
222d2363cd
|
Don't fail to insert a map entry when the key exists and the limit is reached
|
2011-11-26 03:52:07 -08:00 |
|
Chris Robinson
|
81133769de
|
Return the key's value from the map when it's removed
|
2011-10-06 06:39:13 -07:00 |
|
Chris Robinson
|
12abd75aed
|
Only warn when a symbol fails to load
|
2011-09-24 14:52:54 -07:00 |
|
Chris Robinson
|
e01092a0da
|
Move Sleep implementation into helper.c and emulate sched_yield for Windows
|
2011-09-20 14:43:53 -07:00 |
|
Chris Robinson
|
312e9a436d
|
Fix indentation
|
2011-09-20 13:58:45 -07:00 |
|
Chris Robinson
|
3a2fa18744
|
Log the function name instead of the source file and line number
|
2011-09-02 02:00:37 -07:00 |
|
Chris Robinson
|
f3ac3cd1e2
|
Don't set a thread priority if real-time isn't requested
|
2011-08-31 01:05:01 -07:00 |
|
Chris Robinson
|
dd74757319
|
Add a function to initialize a RWLock
|
2011-08-31 01:00:19 -07:00 |
|
Chris Robinson
|
0a1321aaae
|
Add a limit to the UIntMap size and use it for sources and effect slots
|
2011-08-30 20:33:47 -07:00 |
|
Chris Robinson
|
7d577832cd
|
Add functions to retrieve the source from the source map while removing it
|
2011-08-30 17:32:49 -07:00 |
|
Chris Robinson
|
7408396fd4
|
Use a generic int type to handle enum swaps
|
2011-08-29 21:30:12 -07:00 |
|
Chris Robinson
|
b283dd3682
|
Use a read-write lock to protect access to the UInt maps
|
2011-08-29 19:15:22 -07:00 |
|
Chris Robinson
|
5eceb593e9
|
Emulate pthread TLS functions in Windows
|
2011-08-28 17:21:01 -07:00 |
|
Chris Robinson
|
4540034039
|
Move the GUID initialization to the helper
|
2011-08-20 04:55:11 -07:00 |
|
Chris Robinson
|
22ad15e1f1
|
Move some functions into a separate helper source file
|
2011-08-20 04:01:07 -07:00 |
|