[Bug target/34256] mmx and movd/movq on x86_64
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 28 12:45:00 GMT 2007
------- Comment #2 from ubizjak at gmail dot com 2007-11-28 12:45 -------
Created an attachment (id=14653)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14653&action=view)
Patch to adjust mmx move instructions
It looks that mmx move instructions need some tuning. Attached patch fixes
your problems and generates (-march=core2):
foo:
.LFB4:
movq x(%rip), %mm0
paddd y(%rip), %mm0
movd %mm0, %rax
ret
Since these RA adjustments are very fragile, this patch is not appropriate for
stage3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34256
More information about the Gcc-bugs
mailing list