Re: Seems I have bad timing with Debian on SPARC.
* Jurij Smakov <jurij@wooyd.org> [131006 01:05]:
> I really doubt that at this point sparc (well, Linux on sparc) is doing
> anyone a service by finding bugs. Vast majority of problems we saw in the
> past are unaligned access problems, which are not really bugs on other
> architectures - "fixing" them will probably not make the binary run faster
> on x86.
There is no way a conforming C program can cause unaligned access.
Getting unaligned access always means that you run into some undefined
behaviour. And undefined behaviour means the compiler is free to
assume code never runs into this and can freely optimize assuming that
this code will never be executed in this way.
So every unaligned access on sparc is a bug in the software and a bug
that is likely to eventually bite people on x86 some day once the
compiler tries to be more inteligent in that area of the code.
Bernhard R. Link
Reply to: