------- Additional Comments From toon at moene dot indiv dot nluug dot nl  
2005-01-21 20:23 -------
Subject: Re:  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  <[EMAIL PROTECTED]>

         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.



-- 


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

Reply via email to