- fixed soft float support so megaglest might now work with other architectures at least in terms of streflop support

This commit is contained in:
Mark Vejvoda
2012-02-11 15:20:40 +00:00
parent 2fbebb4721
commit 4ed3050f84
9 changed files with 7722 additions and 2 deletions

View File

@@ -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
}