Chris Robinson
|
ebdf636759
|
Revert "Use __cpuid from intrin.h in Windows when available"
This reverts commit 6b870714a9 .
|
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 |
|