Fix for Windows buils to include new target: avx-i64x4

This commit is contained in:
Dmitry Babokin
2013-09-14 02:00:23 +04:00
parent 06aa2067d9
commit ce99b17616
2 changed files with 67 additions and 44 deletions

View File

@@ -446,7 +446,8 @@ Target::Target(const char *arch, const char *cpu, const char *isa, bool pic) :
this->m_maskingIsFree = false;
this->m_maskBitCount = 32;
}
else if (!strcasecmp(isa, "avx1-i64x4") ) {
else if (!strcasecmp(isa, "avx-i64x4") ||
!strcasecmp(isa, "avx1-i64x4")) {
this->m_isa = Target::AVX;
this->m_nativeVectorWidth = 8; /* native vector width in terms of floats */
this->m_vectorWidth = 4;