Zack Middleton
10e2caad46
Fix crash in MSVC x64 qsnapvectorsse, bug #5905
...
Make MASM x64 qsnapvectorsse the same as the inline version.
Remove leftover OP code, see commit 8a500d71da
.
2015-01-14 15:29:45 -06:00
Michael Rieder
55c15e4466
Fix compile error with ml64 assembler
2014-12-07 03:40:52 +01:00
Tim Angus
dfbad1360f
Fix some clang warnings
2013-03-12 21:50:59 +00:00
Mark
a99a214589
Fix #5849 - broken snapvector inverts player speed
...
Snapvector was converting floats to 16 bit integers instead of 32 bit integers.
2013-01-09 23:15:21 -06:00
SmileTheory
af77b93597
#5818 - Modular renderer and Rend2 support for MSVC.
2013-01-07 20:30:49 -08:00
Thilo Schulz
ffac0e6757
Move argument passing from VM to engine to global variables which allows to get rid of lots of OS specific stuff and also fixes errors that happens when compilers add lots of boilerplate to the DoSyscall() function
2012-08-08 09:34:03 +00:00
Thilo Schulz
6283e552d4
My bad. Revert the FPU control word to old value instead of the new one of course. Thanks to marky for reporting this
2011-10-28 21:54:06 +00:00
Tim Angus
4ccd548512
* I zigged when I should have zagged
2011-10-28 18:51:31 +00:00
Tim Angus
675e7a641a
* clang support
2011-10-21 22:48:53 +00:00
Thilo Schulz
8a500d71da
Set default rounding mode to FE_NEAREST again. Thanks to Matthias Bentrup for providing some explanations.
2011-09-27 14:43:20 +00:00
Thilo Schulz
9124d26afb
Fix latest commit for x86 msvc
2011-09-19 21:57:15 +00:00
Thilo Schulz
c927fab58f
Implement Mathias Benthrup's suggestion for x86 ASM snapvector implementation which reduces cache misses.
2011-09-19 18:30:24 +00:00
Thilo Schulz
98af5f4bb0
Fix missing return instruction for fpu ftol on msvc. Thanks to Ensiform for reporting.
2011-09-19 15:49:45 +00:00
Thilo Schulz
664f8e578d
- align sse control word storage space to 16 byte boundary for snapvector
...
- replace some whitespace with tabs in snapvector.c
- Give gcc a bit more freedom in choice of registers
2011-06-22 14:36:11 +00:00
Thilo Schulz
a447aa82af
Fix #if macros for idx64 and id386
2011-06-15 14:10:20 +00:00
Thilo Schulz
206edd3419
- Still forgot qasm-inline.h
...
- Leave GCC more freedom in choice of registers
2011-06-13 11:07:13 +00:00
Thilo Schulz
04821a529d
Forgot the inline assembler parts, here they come! Using inline asm to get rid of all the boilerplate stuff
2011-06-13 10:54:37 +00:00
Thilo Schulz
03201aff22
- Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 mode
...
- Clean up ftol()/snapvector() mess
- Make use of SSE instructions for ftol()/snapvector() if available
- move ftol/snapvector pure assembler to inline assembler, this will add x86_64 and improve support for different calling conventions
- Set FPU control word at program startup to get consistent behaviour on all platforms
2011-06-13 09:56:39 +00:00
Thilo Schulz
0c43133695
Properly fill in occurances of "foobar" in GPL file headers, patch by Zack Middleton ( #5024 )
2011-06-06 14:52:49 +00:00
Thilo Schulz
c174143dc2
- Add x86_64 support to vm_x86.c
...
- Fix warning on mingw64
2011-06-01 15:17:18 +00:00
Tim Angus
a7d33b1c54
* (bug #3639 ) BoxOnPlaneSide rewrite (Diego de Estrada/Patrick Bagget/Daniel
...
Gibson)
2009-09-21 00:20:43 +00:00
Ludwig Nussel
6f85c247e3
Don't define ELF, use __ELF__ instead
2007-11-06 16:41:57 +00:00
Tim Angus
672cfbf16f
* Merge unified-sdl to trunk
...
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00