[Bug target/37158] New: Wrong insn for _mm_comieq_sd
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 19 05:13:00 GMT 2008
[hjl@gnu-6 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);
}
[hjl@gnu-6 i386]$ ./usr/gcc-4.4/bin/gcc -S -O2 x.c
[hjl@gnu-6 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
More information about the Gcc-bugs
mailing list