DragonFly BSD
DragonFly bugs List (threaded) for 2011-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

g++ failing on _mm_set1_epi32() (cc don't)


From: "Magliano Andre\'" <masterblaster@xxxxxxxxxx>
Date: Fri, 24 Jun 2011 16:48:55 +0100

Hi all,

successfully compiled lyx on v2.11.0.397.g4b06a0-DEVELOPMENT x86_64, but
cores at start.

Problem is in qt4-libs package,
qt-everywhere-opensource-src-4.7.2/src/corelib/tools/qstring.cpp
QString::Data *QString::fromLatin1_helper(), when using _mm_set1_epi32().

Compiling and running simple test program (containing the failing call)
with both cc and g++:

#include <smmintrin.h>
int main(int argc, char *argv[]) { __m128i a = _mm_set1_epi32(0); }

$ cc -msse4.2 t.c && ./a.out
$ g++ -msse4.2 t.c && ./a.out
Illegal instruction: 4 (core dumped)
$

Same result with -msse4.1 compiler option.

ByE!




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]