On 12/9/22 15:44, Bruno Pitrus wrote:
You're confusing things. I know what x32 is and nobody cares about supporting it. (There was an aborted effort at porting Tumbleweed to the ARM equivalent of x32, fwiw)
Sure, it's still supported in Debian and Gentoo :-).
`file` is not going to tell you what instructions an executable contains, it only looks at the elf header. Try to compile an executable which runs a more complicated algorithm (copying an array of a dozen elements should suffice) with -march=i586 and x86-64. if you examine them in objdump, the second should contain SSE instructions.
I understand what you mean now. But I'm not sure whether the x86-64 baseline with the limited set of registers on i386 will bring you any remarkable benefit. After all, x32 was created to be able to really profit from x86-64 features on a 32-bit target. I don't really like the repacking approach of 32-bit binaries into 64-bit RPMs. MultiArch would have been the cleaner way with the 32-bit packages using the i686 baseline. Adrian