mirror of
https://github.com/glest/glest-source.git
synced 2025-10-02 10:26:45 +02:00
- fixed soft float support so megaglest might now work with other architectures at least in terms of streflop support
This commit is contained in:
@@ -2523,7 +2523,23 @@ int glestMain(int argc, char** argv) {
|
||||
#ifdef USE_STREFLOP
|
||||
//# define STREFLOP_NO_DENORMALS
|
||||
// streflop_init<streflop::Simple>();
|
||||
printf(" - using STREFLOP\n");
|
||||
|
||||
const char *instruction_set = "[none]";
|
||||
const char *denormals = "[denormals]";
|
||||
|
||||
#if defined(STREFLOP_SSE)
|
||||
instruction_set = "[SSE]";
|
||||
#elif defined(STREFLOP_X87)
|
||||
instruction_set = "[X87]";
|
||||
#elif defined(STREFLOP_SOFT)
|
||||
instruction_set = "[SOFTFLOAT]";
|
||||
#endif
|
||||
|
||||
#if defined(STREFLOP_NO_DENORMALS)
|
||||
denormals = "[no-denormals]";
|
||||
#endif
|
||||
|
||||
printf(" - using STREFLOP %s - %s\n",instruction_set,denormals);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user