public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
@ 2005-01-29 17:48 danglin at gcc dot gnu dot org
  2005-01-29 17:51 ` [Bug other/19696] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-01-29 17:48 UTC (permalink / raw)
  To: gcc-bugs

PASS: gcc.c-torture/execute/ieee/compare-fp-4.c execution,  -Os
Executing on host: /mnt/gnu/gcc-3.3/objdir/gcc/xgcc -B/mnt/gnu/gcc-3.3/objdir/gc
c/ /mnt/gnu/gcc-3.3/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/copysign1.c  -w
  -O0   -lm   -o /mnt/gnu/gcc-3.3/objdir/gcc/testsuite/copysign1.x0    (timeout
= 300)
/usr/ccs/bin/ld: Unsatisfied symbols:
   copysignl (first referenced in /var/tmp//ccmMQ8Qt.o) (code)
collect2: ld returned 1 exit status

-- 
           Summary: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied
                    symbols: copysignl
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa2.0w-hp-hpux11.11
  GCC host triplet: hppa2.0w-hp-hpux11.11
GCC target triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
@ 2005-01-29 17:51 ` pinskia at gcc dot gnu dot org
  2005-01-30  9:29 ` rth at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-29 17:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-29 17:51 -------
Confirmed on powerpc-darwin7.7.0 which also does not have fully the C99 math functions (well have 
all of them except for the long double form.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|hppa2.0w-hp-hpux11.11       |
   GCC host triplet|hppa2.0w-hp-hpux11.11       |
 GCC target triplet|hppa2.0w-hp-hpux11.11       |hppa2.0w-hp-hpux11.11,
                   |                            |powerpc-darwin
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-29 17:51:01
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
  2005-01-29 17:51 ` [Bug other/19696] " pinskia at gcc dot gnu dot org
@ 2005-01-30  9:29 ` rth at gcc dot gnu dot org
  2005-01-30 14:17 ` ebotcazou at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-30  9:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-01-30 09:28 -------
For hpux, is this simply because we don't link against libm?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
  2005-01-29 17:51 ` [Bug other/19696] " pinskia at gcc dot gnu dot org
  2005-01-30  9:29 ` rth at gcc dot gnu dot org
@ 2005-01-30 14:17 ` ebotcazou at gcc dot gnu dot org
  2005-01-30 15:22 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-30 14:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-01-30 14:17 -------
> For hpux, is this simply because we don't link against libm?

No, we do link against libm.  Same problem on Solaris 2.5.1 and 2.6: copysign is
in libm, but not copysignl.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
 GCC target triplet|hppa2.0w-hp-hpux11.11,      |hppa2.0w-hp-hpux11.11,
                   |powerpc-darwin              |powerpc-darwin,
                   |                            |solaris2.[56]


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-01-30 14:17 ` ebotcazou at gcc dot gnu dot org
@ 2005-01-30 15:22 ` dave at hiauly1 dot hia dot nrc dot ca
  2005-01-30 22:35 ` rth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2005-01-30 15:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2005-01-30 15:22 -------
Subject: Re:  gcc.c-torture/execute/ieee/copysign1.c: Unsatis

> For hpux, is this simply because we don't link against libm?

No, only copysign and copysignf are available under hpux up to
hpux 11.11.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-01-30 15:22 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2005-01-30 22:35 ` rth at gcc dot gnu dot org
  2005-01-30 22:37 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-30 22:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-01-30 22:35 -------
Bother.  Well, if I wanna use this for complex division, I'll have to come up
with some solution.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-01-29 17:51:01         |2005-01-30 22:35:20
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-01-30 22:35 ` rth at gcc dot gnu dot org
@ 2005-01-30 22:37 ` pinskia at gcc dot gnu dot org
  2005-01-31  0:31 ` rth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-30 22:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-30 22:37 -------
(In reply to comment #5)
> Bother.  Well, if I wanna use this for complex division, I'll have to come up
> with some solution.
powerpc-darwin is complex as it uses IBM's 128bit format which does not have a simple sign bit any 
more.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-01-30 22:37 ` pinskia at gcc dot gnu dot org
@ 2005-01-31  0:31 ` rth at gcc dot gnu dot org
  2005-01-31  4:01 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-31  0:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-01-31 00:30 -------
Well, yes and no.  The msb *is* set iff the value is negative.  So copysign
can be done by 

  xor. tmp, mswx, mswx
  blt 0, 1f
  fneg hi, hi
  fneg lo, lo
1:

plus some additional data movement instructions.

Step 1, however, is getting IEEE quad precision stuff working...

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-01-31  0:31 ` rth at gcc dot gnu dot org
@ 2005-01-31  4:01 ` cvs-commit at gcc dot gnu dot org
  2005-01-31  9:02 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-31  4:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-31 04:01 -------
Subject: Bug 19696

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2005-01-31 04:00:57

Modified files:
	gcc            : ChangeLog optabs.c 

Log message:
	PR 19696
	* optabs.c (expand_absneg_bit): Split out from expand_unop and
	expand_abs_nojump and generalize.  Use operand_subword and
	emit_no_conflict_block.  Support large modes.
	(expand_abs_nojump): Use it.  Use HONOR_SIGNED_ZEROS to fall
	back to maximum.
	(expand_unop): Likewise.  Use HONOR_SIGNED_ZEROS to fall back
	negation to subtraction.
	(expand_copysign): Check that the format has signed zeros.
	Use operand_subword and emit_no_conflict_block.  Support large modes.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7334&r2=2.7335
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/optabs.c.diff?cvsroot=gcc&r1=1.255&r2=1.256



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-01-31  4:01 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-31  9:02 ` cvs-commit at gcc dot gnu dot org
  2005-02-01  1:32 ` danglin at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-31  9:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-31 09:02 -------
Subject: Bug 19696

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2005-01-31 09:02:35

Modified files:
	gcc            : ChangeLog optabs.c 

Log message:
	PR 19696
	* optabs.c (expand_copysign_absneg): New.
	(expand_copysign_bit): Split out from ...
	(expand_copysign): ... here.  Use expand_copysign_absneg.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7337&r2=2.7338
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/optabs.c.diff?cvsroot=gcc&r1=1.256&r2=1.257



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-01-31  9:02 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-01  1:32 ` danglin at gcc dot gnu dot org
  2005-02-01 20:58 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2005-02-01  1:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From danglin at gcc dot gnu dot org  2005-02-01 01:32 -------
Fixed om PA.  Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2005-02-01  1:32 ` danglin at gcc dot gnu dot org
@ 2005-02-01 20:58 ` cvs-commit at gcc dot gnu dot org
  2005-02-01 21:02 ` rth at gcc dot gnu dot org
  2005-02-02  6:47 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-01 20:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-01 20:57 -------
Subject: Bug 19696

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2005-02-01 20:57:23

Modified files:
	gcc            : ChangeLog optabs.c optabs.h 
	gcc/config/rs6000: rs6000.md 
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.c-torture/execute/ieee: copysign1.c 
	                                          copysign2.c 

Log message:
	PR 19696
	* optabs.c (expand_copysign_absneg): Export.
	* optabs.h (expand_copysign_absneg): Declare.
	* config/rs6000/rs6000.md (copysigntf3): New.
	
	* gcc.c-torture/execute/ieee/copysign1.c: Special case sizeof
	long double for ibm double-double format.
	* gcc.c-torture/execute/ieee/copysign2.c: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7366&r2=2.7367
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/optabs.c.diff?cvsroot=gcc&r1=1.257&r2=1.258
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/optabs.h.diff?cvsroot=gcc&r1=1.46&r2=1.47
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&r1=1.345&r2=1.346
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4974&r2=1.4975
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/copysign1.c.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/copysign2.c.diff?cvsroot=gcc&r1=1.2&r2=1.3



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2005-02-01 20:58 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-01 21:02 ` rth at gcc dot gnu dot org
  2005-02-02  6:47 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-02-01 21:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-02-01 21:01 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug other/19696] gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl
  2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2005-02-01 21:02 ` rth at gcc dot gnu dot org
@ 2005-02-02  6:47 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-02  6:47 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19696


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-02-02  6:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-29 17:48 [Bug other/19696] New: gcc.c-torture/execute/ieee/copysign1.c: Unsatisfied symbols: copysignl danglin at gcc dot gnu dot org
2005-01-29 17:51 ` [Bug other/19696] " pinskia at gcc dot gnu dot org
2005-01-30  9:29 ` rth at gcc dot gnu dot org
2005-01-30 14:17 ` ebotcazou at gcc dot gnu dot org
2005-01-30 15:22 ` dave at hiauly1 dot hia dot nrc dot ca
2005-01-30 22:35 ` rth at gcc dot gnu dot org
2005-01-30 22:37 ` pinskia at gcc dot gnu dot org
2005-01-31  0:31 ` rth at gcc dot gnu dot org
2005-01-31  4:01 ` cvs-commit at gcc dot gnu dot org
2005-01-31  9:02 ` cvs-commit at gcc dot gnu dot org
2005-02-01  1:32 ` danglin at gcc dot gnu dot org
2005-02-01 20:58 ` cvs-commit at gcc dot gnu dot org
2005-02-01 21:02 ` rth at gcc dot gnu dot org
2005-02-02  6:47 ` 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).