https://bugs.kde.org/show_bug.cgi?id=438640

--- Comment #10 from [email protected] ---
$ cat test.c 
#include <smmintrin.h>
#include <stdio.h>

// grep -R "_mm_crc32" $(gcc -print-file-name=include)
// need to enable SSE4.2 via -msse4.2, that gives
// gcc -msse4.2 -m32 test.c

int main() {
   #ifdef __SSE4_2__
   puts("SSE4.2 enabled");
   #endif
   printf("XXX %d\n", _mm_crc32_u8(3, 7));
}
$ gcc -msse4.2 -m32 test.c
$ ./vg-in-place --quiet ./a.out 
SSE4.2 enabled
==34554== 
==34554== Process terminating with default action of signal 4 (SIGILL): dumping
core
==34554==  Illegal opcode at address 0x8048389
==34554==    at 0x8048389: main (in
/home/mcermak/WORK/valgrind/valgrind-src/a.out)
Illegal instruction        (core dumped) ./vg-in-place --quiet ./a.out
$

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to