This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix part of PR48037


On Tue, Mar 15, 2011 at 5:19 AM, Richard Guenther <rguenther@suse.de> wrote:
>
> This avoids spilling SSE registers to memory just because we access
> vector components in a C array way. ÂThe trick is to simply rewrite
> those accesses to proper vector selects on the tree level and promote
> the vector to SSA form.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk.


I think this fixes comment # 1 in PR 28367 and maybe even that PR.

I think you should do the same for complex too (well use REAL_EXPR and
IMAG_EXPR instead) (the complex issue was mention in comment #2 in PR
26134 and IIRC that shows up in damn benchmark as part of SPEC 2k6).


Thanks,
Andrew Pinski


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