public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/15383] New: __float128 function name is used for long double
@ 2004-05-12 16:46 hjl at lucon dot org
2004-05-12 17:30 ` [Bug target/15383] " hjl at lucon dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: hjl at lucon dot org @ 2004-05-12 16:46 UTC (permalink / raw)
To: gcc-bugs
--
Summary: __float128 function name is used for long double
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl at lucon dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ia64-unknown-linux-gnu
GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/15383] __float128 function name is used for long double
2004-05-12 16:46 [Bug target/15383] New: __float128 function name is used for long double hjl at lucon dot org
@ 2004-05-12 17:30 ` hjl at lucon dot org
2004-05-12 17:46 ` zack at codesourcery dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hjl at lucon dot org @ 2004-05-12 17:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-05-11 19:40 -------
__divtf3 is an alias for __divxf3, which is a 80bit long double
function for backward compatibility. Since gcc 3.4.0 supports
__float128, gcc will use __divtf3 for 128bit floating point number.
__divtf3 should be either removed or implement __float128 operation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/15383] __float128 function name is used for long double
2004-05-12 16:46 [Bug target/15383] New: __float128 function name is used for long double hjl at lucon dot org
2004-05-12 17:30 ` [Bug target/15383] " hjl at lucon dot org
@ 2004-05-12 17:46 ` zack at codesourcery dot com
2004-05-12 19:17 ` hjl at lucon dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: zack at codesourcery dot com @ 2004-05-12 17:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zack at codesourcery dot com 2004-05-11 20:37 -------
Subject: Re: __float128 function name is used for long
double
> __divtf3 is an alias for __divxf3, which is a 80bit long double
> function for backward compatibility. Since gcc 3.4.0 supports
> __float128, gcc will use __divtf3 for 128bit floating point number.
> __divtf3 should be either removed or implement __float128 operation.
I think __divtf3 must remain as it is now, or we break the C ABI.
When I originally implemented this stuff I proposed using the HPUX
function names for __float128 operations (_U_Qf* -- see
ia64_hpux_init_libfuncs) but it was considered to be moot as long as
we didn't actually have an 128bit floating point library. Has that
changed?
zw
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/15383] __float128 function name is used for long double
2004-05-12 16:46 [Bug target/15383] New: __float128 function name is used for long double hjl at lucon dot org
2004-05-12 17:30 ` [Bug target/15383] " hjl at lucon dot org
2004-05-12 17:46 ` zack at codesourcery dot com
@ 2004-05-12 19:17 ` hjl at lucon dot org
2004-05-13 11:12 ` hjl at lucon dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hjl at lucon dot org @ 2004-05-12 19:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-05-11 22:21 -------
We can't have the same symbol for 2 different purposes. Yes,
I am working on __float128 support for Linux.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/15383] __float128 function name is used for long double
2004-05-12 16:46 [Bug target/15383] New: __float128 function name is used for long double hjl at lucon dot org
` (2 preceding siblings ...)
2004-05-12 19:17 ` hjl at lucon dot org
@ 2004-05-13 11:12 ` hjl at lucon dot org
2004-05-21 3:12 ` cvs-commit at gcc dot gnu dot org
2004-05-21 3:49 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: hjl at lucon dot org @ 2004-05-13 11:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-05-12 19:00 -------
Created an attachment (id=6267)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6267&action=view)
A testcase
[hjl@gnu-2 float128]$ /usr/gcc-3.4/bin/gcc -O bug.c
[hjl@gnu-2 float128]$ ./a.out
Aborted
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/15383] __float128 function name is used for long double
2004-05-12 16:46 [Bug target/15383] New: __float128 function name is used for long double hjl at lucon dot org
` (3 preceding siblings ...)
2004-05-13 11:12 ` hjl at lucon dot org
@ 2004-05-21 3:12 ` cvs-commit at gcc dot gnu dot org
2004-05-21 3:49 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-05-21 3:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-05-20 02:15 -------
Subject: Bug 15383
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hjl@gcc.gnu.org 2004-05-20 02:15:46
Modified files:
gcc : ChangeLog
gcc/config/ia64: ia64.c sysv4.h
Log message:
2004-05-19 H.J. Lu <hongjiu.lu@intel.com>
PR target/15383
* config/ia64/ia64.c (ia64_expand_compare): Don't check
TARGET_HPUX for TFmode compare. Abort if op0 is in TFmode and
cmptf_libfunc isn't set.
(ia64_init_libfuncs): Rename TFmode libfuncs using the HPUX
conventions.
(ia64_sysv4_init_libfuncs): New.
* config/ia64/sysv4.h (TARGET_INIT_LIBFUNCS): New. Defined as
ia64_sysv4_init_libfuncs.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3702&r2=2.3703
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/ia64.c.diff?cvsroot=gcc&r1=1.286&r2=1.287
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/ia64/sysv4.h.diff?cvsroot=gcc&r1=1.30&r2=1.31
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15383
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/15383] __float128 function name is used for long double
2004-05-12 16:46 [Bug target/15383] New: __float128 function name is used for long double hjl at lucon dot org
` (4 preceding siblings ...)
2004-05-21 3:12 ` cvs-commit at gcc dot gnu dot org
@ 2004-05-21 3:49 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-21 3:49 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-20 02:34 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15383
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-05-20 2:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-12 16:46 [Bug target/15383] New: __float128 function name is used for long double hjl at lucon dot org
2004-05-12 17:30 ` [Bug target/15383] " hjl at lucon dot org
2004-05-12 17:46 ` zack at codesourcery dot com
2004-05-12 19:17 ` hjl at lucon dot org
2004-05-13 11:12 ` hjl at lucon dot org
2004-05-21 3:12 ` cvs-commit at gcc dot gnu dot org
2004-05-21 3:49 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).