Revert "Remove support for using SVML for math lib routines."

This reverts commit d9c38b5c1f.
This commit is contained in:
james.brodman
2013-09-04 16:01:58 -04:00
parent 71a7564317
commit 8db378b265
16 changed files with 556 additions and 18 deletions

View File

@@ -112,6 +112,7 @@ usage(int ret) {
printf(" [--math-lib=<option>]\t\tSelect math library\n");
printf(" default\t\t\t\tUse ispc's built-in math functions\n");
printf(" fast\t\t\t\tUse high-performance but lower-accuracy math functions\n");
printf(" svml\t\t\t\tUse the Intel(r) SVML math libraries\n");
printf(" system\t\t\t\tUse the system's math library (*may be quite slow*)\n");
printf(" [-MMM <filename>\t\t\t\tWrite #include dependencies to given file.\n");
printf(" [--nostdlib]\t\t\tDon't make the ispc standard library available\n");
@@ -408,6 +409,8 @@ int main(int Argc, char *Argv[]) {
g->mathLib = Globals::Math_ISPC;
else if (!strcmp(lib, "fast"))
g->mathLib = Globals::Math_ISPCFast;
else if (!strcmp(lib, "svml"))
g->mathLib = Globals::Math_SVML;
else if (!strcmp(lib, "system"))
g->mathLib = Globals::Math_System;
else {