[PATCH, i386]: Avoid store forwarding stalls in assign_i386_stack_local

Uros Bizjak ubizjak@gmail.com
Sat Mar 22 19:43:00 GMT 2008


Hello!

This patch avoids store forwarding stalls in stack slots, created by 
assign_i386_stack_local. We use DImode slots to load DImode values into 
x87 reg usign fildll insn through the stack. When stored value crosses 
16byte boundary this causes store forwarding stall.

2008-03-22  Uros Bizjak  <ubizjak@gmail.com>

        * config/i386/i386.c (assign_386_stack_local): Align DImode slots
        to their natural alignment to avoid store forwarding stalls.

Patch is bootstrapped and regression tested on x86_64-pc-linux-gnu, 
committed to SVN.

Uros.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080322/9f5ef139/attachment.txt>


More information about the Gcc-patches mailing list