This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug middle-end/18902] Naive (default) complex division algorithm


pcarlini at suse dot de wrote:

------- Additional Comments From pcarlini at suse dot de  2005-01-20 12:10 -------
A first implementation of the algorithm was already in 3_4, under the name
expand_cmplxdiv_wide (in optabs.cc), then Rth rewrote it in the tree-ssa branch
as part of the new tree-complex.cc (It would be mildly interesting to see if
the version in 3_4 works) In the meanwhile, I'm adding Rth in CC of 19486.

Indeed (ChangeLog.1):


Tue May 18 03:53:37 1999 Craig Burley <craig@jcb-sc.com>

        Improve open-coding of complex divide:
        * flags.h: Declare new front-end-malleable flag.
        * toplev.c: Define new flag.
        * optabs.c (expand_cmplxdiv_straight): New function to do original
        open-coding.
        (expand_cmplxdiv_wide): New function to do new open-coding,
        from Toon Moene, with changes (call to emit_barrier, dropping
        of spurious `ok = 1;', plus the obvious `break;' -> `return 0;').
        (expand_binop): A bit of spacing fixing, while at it.
        Use new functions instead of inlining the open-coding code.

--
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]