[EMAIL PROTECTED] i386]$ cat x.c /* { dg-do run } */ /* { dg-options "-O2 -msse2" } */
#include <emmintrin.h> int test (__m128d s1, __m128d s2) { return _mm_comieq_sd (s1, s2); } [EMAIL PROTECTED] i386]$ ./usr/gcc-4.4/bin/gcc -S -O2 x.c [EMAIL PROTECTED] i386]$ cat x.s .file "x.c" .text .p2align 4,,15 .globl test .type test, @function test: .LFB518: xorl %eax, %eax ucomisd %xmm1, %xmm0 sete %al ret It should be "comisd %xmm1, %xmm0". -- Summary: Wrong insn for _mm_comieq_sd Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl dot tools at gmail dot com GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37158