diff --git a/ispc.cpp b/ispc.cpp index c8bdb6b3..46e32d77 100644 --- a/ispc.cpp +++ b/ispc.cpp @@ -317,7 +317,7 @@ Opt::Opt() { level = 1; fastMath = false; fastMaskedVload = false; - force32BitAddressing = false; + force32BitAddressing = true; unrollLoops = true; disableAsserts = false; disableHandlePseudoMemoryOps = false; diff --git a/main.cpp b/main.cpp index e648c7b5..459f1ea9 100644 --- a/main.cpp +++ b/main.cpp @@ -60,6 +60,9 @@ static void usage(int ret) { printf("This is the Intel(r) SPMD Program Compiler (ispc), build %s (%s)\n\n", BUILD_DATE, BUILD_VERSION); printf("usage: ispc\n"); + printf(" [--addressing={32,64}]\t\tSelect 32- or 64-bit addressing. (Note that 32-bit\n"); + printf(" \t\taddressing calculations are done by default, even\n"); + printf(" \t\ton 64-bit target architectures.)\n"); printf(" [--arch={%s}]\t\tSelect target architecture\n", Target::SupportedTargetArchs()); printf(" [--cpu=]\t\t\tSelect target CPU type\n"); @@ -83,7 +86,6 @@ static void usage(int ret) { printf(" [-o /--outfile=]\tOutput filename (may be \"-\" for standard output)\n"); printf(" [-O0/-O1]\t\t\t\tSet optimization level (-O1 is default)\n"); printf(" [--opt=