fixed segfault in tests/launch-*.ispc. nativeVectoWidth in avx-i64x4 was set to 4. Fixed

This commit is contained in:
Evghenii
2013-09-12 20:25:44 +02:00
parent 059d80cc11
commit 40af8d6ed5
2 changed files with 2 additions and 2 deletions

View File

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