From 28625eb1dfdbc52f51b31717e0677861af4ce629 Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Fri, 1 Jul 2011 16:25:22 +0100 Subject: [PATCH] Disable ability to specify AVX target on command line (pending things coming more online in LLVM's AVX codebase.) --- main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 3af1c776..13d0631e 100644 --- a/main.cpp +++ b/main.cpp @@ -91,7 +91,7 @@ static void usage(int ret) { printf(" disable-gather-scatter-flattening\tDisable flattening when all lanes are on\n"); printf(" disable-uniform-memory-optimizations\tDisable uniform-based coherent memory access\n"); printf(" disable-masked-store-optimizations\tDisable lowering to regular stores when possible\n"); - printf(" [--target={sse2,sse4,sse4x2,avx}] Select target ISA (SSE4 is default unless compiling for atom; then SSE2 is.)\n"); + printf(" [--target={sse2,sse4,sse4x2}] Select target ISA (SSE4 is default unless compiling for atom; then SSE2 is.)\n"); printf(" [--version]\t\t\t\tPrint ispc version\n"); printf(" [--woff]\t\t\t\tDisable warnings\n"); printf(" [--wno-perf]\t\t\tDon't issue warnings related to performance-related issues\n"); @@ -118,11 +118,13 @@ static void lDoTarget(const char *target) { g->target.nativeVectorWidth = 4; g->target.vectorWidth = 8; } +#if 0 else if (!strcasecmp(target, "avx")) { g->target.isa = Target::AVX; g->target.nativeVectorWidth = 8; g->target.vectorWidth = 8; } +#endif else usage(1); }