Project

General

Profile

Actions

Bug #2093

closed

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

Added by masterblaster almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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!

Actions

Also available in: Atom PDF