POWER __builtin_add_overflow/__builtin_mul_overflow with u64

2023-02-13 Thread Simon Richter
Hi, I'm looking at the generated code for these builtins on POWER: add 4,3,4 subfc 3,3,4 subfe 3,3,3 std 4,0(5) rldicl 3,3,0,63 blr and mulld 10,3,4 mulhdu 3,3,4 addic 9,3,-1 std 10,0(5) subfe 3,9,3

software floating point host triplet?

2006-02-20 Thread Simon Richter
Hello, I have the interesting and somewhat taunting task of providing a toolchain that assumes -msoft-float unless told otherwise. Obviously, this can be arranged with appropriate changes to the specs, however I'd like to integrate this in a way that would benefit everybody. The general

Re: uclibc patches

2005-03-26 Thread Simon Richter
Hi, Peter S. Mazinger schrieb: I'm not sure *-*-linux-uclibc would be the right choice, as it suggests running Linux with uclibc as your C library, which is something the binutils need not care about. I could, however, see a case for *-*-uclinux due to the ABI differences and the need for