These functions were disabled for powerpc in the initial
checkin all the way back in 2009. The reasons why are lost to history,
but they work fine with modern clang and powerpc64. I have no way
to test them on 32-bit systems, but will clean this up if the someone
finds a failure.
Details
Diff Detail
- Build Status
Buildable 9304 Build 9304: arc lint + arc unit
Event Timeline
I don't see an issue with providing these functions on PowerPC as there doesn't seem to be anything in the implementation that PowerPC would have an issue with. However, I'm not sure if there are precision specifications for these builtins. If so, it is quite possible that PowerPC's long double won't meet those specifications. For the time being, the PPC long double is not IEEE 754 compliant - it's a pair of doubles.
Ah, OK. I see what you mean now. These builtins are for XCmode calculations (complex values as two XFmode components). Since PPC has no support for XFmode (i.e. 80-bit long double) in HW (and I don't imagine emulation is useful), I'm not sure it's meaningful to expose these builtins.
That's at least my interpretation, but please let me know if I'm way off base with that analysis.
OK. I understand how these should work now.
As they are 80-bit specific, I am going to abandon this change and add them to my other patch which moves 80-bit specific floats and tests to x86-specific lists.