-march=i686 and SSE on debian i386 packages

-march=i686 and SSE on debian i386 packages

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
mammadori
Posts: 35
Joined: 08 Oct 2009, 02:00

-march=i686 and SSE on debian i386 packages

Post by mammadori »

I asked about i686 and SSE on i386 debian packages to a couple of debian (DD) guys, it seems sufficient that I use a shell wrapper on unfortunate CPUs just to do not have a SIGILL thrown to annoy the user.

The best thing is if that this kind of check could be done in the spring executable itself and that SSE-like code will be used conditionally at runtime.

I'll add that maybe having a pop-up that inform about online gaming sync problems could be a nice thing to have, maybe just for warning purpose.

So, I'll build i386 packages with -march=i686 and sse enabled (as what you can find now on debian repos) and just issue a warning in case of x86 with not enough features.

Thank you all for helping on that issue.

(I'll add a wishlist item on that issue for non-x86 probably on mantis)
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: -march=i686 and SSE on debian i386 packages

Post by Kloot »

The best thing is if that this kind of check could be done in the spring executable itself and that SSE-like code will be used conditionally at runtime.
This is impossible, code is either compiled with SSE instructions or without them.
I'll add that maybe having a pop-up that inform about online gaming sync problems could be a nice thing to have, maybe just for warning purpose.
By default such a pop-up is shown if Spring is built with STREFLOP_SSE defined by the build system (which it should always be for these kind of packages) and run on non-SSE hardware.
Post Reply

Return to “Linux”