Re: Testsuite failures on sparc64 due to unaligned access since 1.5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi!

On 12/11/20 2:07 AM, David Gibson wrote:
> Right, alignment issues have been a perennial problem.  We find some
> platform that has alignment constraints that break, fix that, then
> someone finds the alignment fixups cause horrible performance
> problems, repeat ad nauseum.

>From my discussions with GCC developers I have learnt that it shouldn't
be a problem to use memcpy() in such cases to avoid aliasing problems
resulting in unaligned access.

GCC will just optimize memcpy() in cases where an unaligned access is
faster.

> There's been another round of this pretty recently, which is probably
> the cause of the fixup.  I just hope the re-optimizations that Tom
> Rini has in his pipeline don't break things again for you.

The GCC compile farm has two fast SPARC servers [1] running Debian unstable,
so I suggest testing such changes there before merging them.

Adrian

> [1] https://gcc.gnu.org/wiki/CompileFarm

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@xxxxxxxxxx
`. `'   Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913




[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux