This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][GCC][mid-end] Allow larger copies when target supports unaligned access [Patch (1/2)]
On 4/4/18 4:06 AM, Tamar Christina wrote:
> Now that I know how the loads are done, I have a patch should be both correct and generate better code in most cases.
> It just calculates bitsize inside the loop and does the copying in the largest mode possible that's equal or less than the bits
> That are to be copied. This avoids the issue with reading too much, honors padding and alignment and still generates better code
> In most cases.
>
> I'm running the regression tests and should have a final version soon.
If you give me your patch when it's ready, I'll do bootstrap and regression
testing on powerpc*-linux and verify it fixes the issues we hit.
Peter