[Bug target/19974] incorrect complex division on ia-64 with flag_complex_method = 2

2005-03-31 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-03-31 21:38 --- I'm going to assume there's no bug here. Re-open if you disagree. -- What|Removed |Added

[Bug target/19974] incorrect complex division on ia-64 with flag_complex_method = 2

2005-02-17 Thread Thomas dot Koenig at online dot de
--- Additional Comments From Thomas dot Koenig at online dot de 2005-02-17 13:52 --- Another datapoint - the fact that slarrb "has problems" has been confirmed by a Lapack developer. A new version is slated to appear as a patch soon. Hopefully, this will reduce the potential hang in th

[Bug target/19974] incorrect complex division on ia-64 with flag_complex_method = 2

2005-02-17 Thread Thomas dot Koenig at online dot de
--- Additional Comments From Thomas dot Koenig at online dot de 2005-02-17 09:42 --- (In reply to comment #7) > Using Mathematica I get for > (10^20 + 10^12 I)/(1 - 10^-8) = 10^20 + 2 * 10^12 I > > so really neither of them are mathematically correct. The test case was (10^20-10^12*I)/

[Bug target/19974] incorrect complex division on ia-64 with flag_complex_method = 2

2005-02-16 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-17 03:30 --- Using Mathematica I get for (10^20 + 10^12 I)/(1 - 10^-8) = 10^20 + 2 * 10^12 I so really neither of them are mathematically correct. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19974

[Bug target/19974] incorrect complex division on ia-64 with flag_complex_method = 2

2005-02-16 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-02-17 02:47 --- The "problem" is the use of the fused multiply-and-add instructions. 1672 y = (b - (a * ratio)) / denom; d6: 70 70 24 0c 54 00 fms.s.s0 f7=f9,f6,f14 This computes the intermedi

[Bug target/19974] incorrect complex division on ia-64 with flag_complex_method = 2

2005-02-16 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-02-16 23:17 --- Confirmed. It's an ia64-specific miscompilation. Doesn't happen if libgcc is built with -O0 instead of -O2. -- What|Removed |Added