This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38320] New: missed movd opcode (32bits mm -> r/m32).
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2008 23:57:10 -0000
- Subject: [Bug target/38320] New: missed movd opcode (32bits mm -> r/m32).
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
#include <mmintrin.h>
int foo( __m64 x )
{
int y;
__builtin_memcpy( &y, &x, sizeof( y ) );
return y;
}
gcc movd.c -O2 -S produces:
foo: movq %xmm0, -24(%rsp)
movl -24(%rsp), %eax
ret
while 'movd xmm0, eax' was expected.
--
Summary: missed movd opcode (32bits mm -> r/m32).
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
GCC target triplet: x86-gnu-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38320