From 40a295e951410be5fa63a7c5470267149e20a839 Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Tue, 12 Jun 2012 13:37:38 -0700 Subject: [PATCH] Fix bug where "avx-x2" target would cause AVX1.1 to be used. --- ispc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ispc.cpp b/ispc.cpp index f520aa75..a1d5c8f4 100644 --- a/ispc.cpp +++ b/ispc.cpp @@ -299,7 +299,7 @@ Target::GetTarget(const char *arch, const char *cpu, const char *isa, t->maskBitCount = 32; } else if (!strcasecmp(isa, "avx-x2") || !strcasecmp(isa, "avx1-x2")) { - t->isa = Target::AVX11; + t->isa = Target::AVX; t->nativeVectorWidth = 8; t->vectorWidth = 16; t->attributes = "+avx,+popcnt,+cmov";