Search found 14 matches
- 17 Oct 2008, 18:33
- Forum: Engine
- Topic: Serious discussion regarding SSE/SSE2
- Replies: 39
- Views: 5895
Re: Serious discussion regarding SSE/SSE2
While the padding is easy, I don't think the alignment is. In particular not for (temp) float3's created on stack. Maybe there's some __attribute__ for it tho, in GCC? ... never heard of an possiblilty to force stack memory to be aligned (think would be too complicated) ... but you can always align...
- 16 Oct 2008, 19:13
- Forum: Engine
- Topic: Serious discussion regarding SSE/SSE2
- Replies: 39
- Views: 5895
Re: Serious discussion regarding SSE/SSE2
Remarks: on 64bit, gcc uses SSE2 by default and I didn't got any desyncs until now. As long as all build keep the same flag (STREFLOP_X87 or STREFLOP_SSE) it should be fine, even with different compiler optimizations applied (SSE vs. SSE3.whatever). I think you may be disappointed at how (not) much...
- 03 Apr 2008, 20:14
- Forum: Engine
- Topic: Optimizing Math Functions
- Replies: 92
- Views: 19662
Re: Optimizing Math Functions
It does desync if one client calculates stuff using SSE and the other using X87 math or an integer approximation. (If used in synced context, of course.) SSE has different denormal handling then X87 IIRC, meaning everyone has to run Spring with SSE, or no one has to run it with SSE (applies to the ...
- 03 Apr 2008, 19:25
- Forum: Engine
- Topic: Optimizing Math Functions
- Replies: 92
- Views: 19662
Re: Optimizing Math Functions
What about sync issues and compatability? Remember rattle being the odd one out in the entire community not being able to run with SSE because of the chipset he used not supporting it? And what about differences in calculations between the SSE approximate answer and the fastmath answer which might ...
- 03 Apr 2008, 18:14
- Forum: Engine
- Topic: Optimizing Math Functions
- Replies: 92
- Views: 19662
Re: Optimizing Math Functions
What about 64bit? possible...but with 64 bit the calling conventions changed and more evil are now different between linux & windows (http://en.wikipedia.org/wiki/Stdcall)... inlining would solve this problem here an 64bit src&compile for Windows (only), same functionallity like 32bit versi...
- 03 Apr 2008, 13:43
- Forum: Engine
- Topic: Optimizing Math Functions
- Replies: 92
- Views: 19662
Re: Optimizing Math Functions
Indeed inline assembler could be much faster, but I think there are portability issues with that... hi jonanin, yes you are right its seems to be in every C/c++ compiler different to use inline assembly, also support for SSE1/SSE2/sSSE3 etc. might missing. Another problem might OS portability, and ...
- 02 Apr 2008, 12:23
- Forum: Engine
- Topic: Optimizing Math Functions
- Replies: 92
- Views: 19662
Re: Optimizing Math Functions
nice discussion! :) want to share my experience because i'm working on low level optimizations on my job too... i tried several approaches but ended with writting the very core in low level assembler SSE code... e.g. on the square root for the vector scalarproduct i was able to get an speedup by ~2 ...
- 29 Mar 2006, 17:21
- Forum: Help & Bugs
- Topic: windows 98 no units problem
- Replies: 8
- Views: 1392
- 07 Dec 2005, 15:46
- Forum: Help & Bugs
- Topic: startup problem
- Replies: 3
- Views: 585
- 06 Dec 2005, 17:40
- Forum: Help & Bugs
- Topic: startup problem
- Replies: 3
- Views: 585
startup problem
v0.67b1, in singleplayermode no units are created (win98se)
- 01 Sep 2005, 16:50
- Forum: Help & Bugs
- Topic: Compiled List of Current TA Spring bugs
- Replies: 128
- Views: 30150
- 30 Aug 2005, 17:47
- Forum: Help & Bugs
- Topic: When starting game, no units are created
- Replies: 18
- Views: 2496
- 24 Aug 2005, 14:42
- Forum: Help & Bugs
- Topic: When starting game, no units are created
- Replies: 18
- Views: 2496
- 23 Aug 2005, 15:58
- Forum: Help & Bugs
- Topic: When starting game, no units are created
- Replies: 18
- Views: 2496
I've got a 9600PRO, so I know it's my operating system. I've still got 98. And until just recently, I never saw anything that said it needed XP. hello everyone i got the same problem and i also use win98se, fully patched, directx9c, geforce 3, 256mb ram. why should spring only run on xp or 2000? al...