News for hackers. Stuff that matters.
Re:A Time Consuming Pitfall for 32-Bit Applications on AArch64 by o11c on Sunday September 15, 2024 @03:05AM (#41545789)
It's worth noting that even on x86, -m32 isn't as complete as a real i?86 build of gcc. It's "complete enough" for the kernel and many other things, but, say, I found it very difficult to build a 32-bit program that didn't rely on SSE since the 64-bit version assumes it.
Re:A Time Consuming Pitfall for 32-Bit Applications on AArch64 by makomk on Sunday September 15, 2024 @06:07AM (#41546521)
In theory you should just be able to set -march to the lowest common denominator kind of CPU you expect your code to run on and it'll avoid relying on SSE if appropriate.
Re:A Time Consuming Pitfall for 32-Bit Applications on AArch64 by dwattttt on Sunday September 15, 2024 @08:18AM (#41547048)
An x86_64 toolchain is allowed to assume SSE2 is present, it's mandated by the AMD64 spec.