--- Comment #8 from pinskia at gcc dot gnu dot org 2007-06-21 09:15 ---
But again, even if sqrtl is not part of the library, this is not a GCC issue.
We provide builtins for faster usage and not to get around libc not including
the function.
--
pinskia at gcc dot gnu dot org changed
--- Comment #7 from dannysmith at users dot sourceforge dot net 2007-06-20
23:32 ---
(In reply to comment #6)
> Anybody have enough __asm__ foo to write a inline assembly macro taking a long
> double operand and returning one, which I can use to call fsqrt directly in
> inline assembly?
--- Comment #6 from whaley at cs dot utsa dot edu 2007-06-20 23:17 ---
Anybody have enough __asm__ foo to write a inline assembly macro taking a long
double operand and returning one, which I can use to call fsqrt directly in
inline assembly? I'm scoping the docs, but have never found i
--- Comment #5 from whaley at cs dot utsa dot edu 2007-06-20 22:17 ---
It may be C99, but since it doesn't work on 90% of the machines in the world,
it is a bit of a stretch to call it portable. My point is no standard mandates
you round down a long double (where you don't round down a
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-20 22:04 ---
sqrtl is C99 so it is portable, just not to cygwin. That is not our fault that
cygwin does not provide a C99 math library.
--
pinskia at gcc dot gnu dot org changed:
What|Removed
--- Comment #3 from whaley at cs dot utsa dot edu 2007-06-20 21:52 ---
Turns out the proposed solution of using sqrtl is not portable. In particular,
all code using it fails to link on Windows using cygwin. Any idea how to make
this work portably? I still don't understand why it is OK
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-01-26 17:49 ---
Use sqrtl then if you don't want the rounding.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #1 from whaley at cs dot utsa dot edu 2007-01-26 16:21 ---
Created an attachment (id=12963)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12963&action=view)
Can be compiled to .s as described in report to duplicate error
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?