This is the mail archive of the gcc@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]

Re: Complex arithmetic improvements?


>>>>> «David», David Edelsohn <dje@watson.ibm.com> wrote:

>>>>> Peter Chang writes:
Peter> So it would seem that these changes would be architecture-dependent. This
Peter> doesn't surprise me in the least. I'm certainly not up-to-date on the
Peter> latest fp performances so does anyone have any references or figures for, 
Peter> say the clock cycles for fp operations on different architectures?

David> 	Could the RTX_COSTS macro allow the algorithm to be chosen in a
David> machine-dependent manner?  The macro mostly is setup for INTs, though.

David> David


I don't recommand it: the proposed scheme (well known in the numerics
are) is numerically *unstable*.

-- Gaby
"One reason that life is complex is that it has a 
real part and imaginary part." -- Andrew Koenig


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