This is the mail archive of the
mailing list for the GCC project.
Re: Fix target/45027 [was: x86_64 varargs setup jump table]
On Thu, Jul 22, 2010 at 11:52 PM, Richard Henderson <email@example.com> wrote:
> On 07/21/2010 04:15 PM, H.J. Lu wrote:
>> This caused:
> Fixed thus.
> Honza and I had a discussion about this on IRC. ?His original patch,
> had some problems in it, but worked anyway for a complicated set of
> The following patch removes the optimization that attempts to leave
> the stack alignment at 64-bits, rather than storing the varargs SSE
> registers in full into a 128-bit aligned slot.
> The only optimization that seems interesting to me would be to properly
> track the true types of the data at each varargs slot. ?In a restricted
> set of circumstances we might be able to copy-propagate the incoming
> SSE register to the use. ?This would require a significant amount of
> work in pass_stdarg, and really doesn't seem worth the effort.
Well, IPA-SRA could be extended to handle varargs ...