This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/43766] x86 prefetch doesn't use complex memory addressing



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]