This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43766] x86 prefetch doesn't use complex memory addressing
- From: "astrange at ithinksw dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Apr 2010 21:19:07 -0000
- Subject: [Bug target/43766] x86 prefetch doesn't use complex memory addressing
- References: <bug-43766-10175@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from astrange at ithinksw dot com 2010-04-16 21:19 -------
Works with x86-64.
Checking -m32, the same thing happens with or without the patch:
_p:
subl $12, %esp
movl 20(%esp), %eax
sall $2, %eax
addl 16(%esp), %eax
addl $12, %esp
prefetcht0 (%eax)
ret
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43766