public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/24903]  New: dotprod should use conj?
@ 2005-11-16 19:02 pinskia at gcc dot gnu dot org
  2005-11-20  0:40 ` [Bug libfortran/24903] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-16 19:02 UTC (permalink / raw)
  To: gcc-bugs

Right now dotprod_c* does:
./generated/dotprod_c4.c:      COMPLEX_ASSIGN(conjga, REALPART (*pa), -IMAGPART
(*pa));
./generated/dotprod_c16.c:      COMPLEX_ASSIGN(conjga, REALPART (*pa),
-IMAGPART (*pa));
./generated/dotprod_c8.c:      COMPLEX_ASSIGN(conjga, REALPART (*pa), -IMAGPART
(*pa));
./generated/dotprod_c10.c:      COMPLEX_ASSIGN(conjga, REALPART (*pa),
-IMAGPART (*pa));


When it should be doing:
conjga = conj(*pa);
or
conjga = conjl(*pa);
or
conjga = conjf(*pa);

Depending on which type it is.

Or it could use the GNU extension which overrides ~ for conjugation.

conjga = ~*pa;


-- 
           Summary: dotprod should use conj?
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


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

end of thread, other threads:[~2006-03-04  8:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-16 19:02 [Bug libfortran/24903] New: dotprod should use conj? pinskia at gcc dot gnu dot org
2005-11-20  0:40 ` [Bug libfortran/24903] " pinskia at gcc dot gnu dot org
2005-11-21  9:11 ` fxcoudert at gcc dot gnu dot org
2005-11-21 22:53 ` pinskia at gcc dot gnu dot org
2006-02-06 22:16 ` fxcoudert at gcc dot gnu dot org
2006-02-16  7:52 ` fxcoudert at gcc dot gnu dot org
2006-02-16  7:53 ` [Bug libfortran/24903] [4.1 only] dotprod should use __builtin_conj fxcoudert at gcc dot gnu dot org
2006-03-04  8:53 ` fxcoudert at gcc dot gnu dot org
2006-03-04  8:55 ` [Bug libfortran/24903] " fxcoudert 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).