[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-18 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-18 15:48 --- I should note that -ffast-math enables -ffinite-math-only also. -- What|Removed |Added

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-18 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-01-18 15:58 --- This patch unfortunatelly didn't help: http://gcc.gnu.org/ml/gcc-cvs/2005-01/msg00651.html With the patch, tracing abyss.pov generates these warnings: Parsing.File: ../scenes/advanced/abyss.pov Line:

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-18 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-01-18 16:05 --- (In reply to comment #1) > I should note that -ffast-math enables -ffinite-math-only also. The same (bad) results could be achieved with -funsafe-math-optimizations. -- http://gcc.gnu.org/bugzilla/show_bug.cg

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-18 Thread kcook at gcc dot gnu dot org
-- What|Removed |Added CC||kcook at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19506

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-19 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-01-19 08:17 --- This functionality is missing after FP compares rewrite: ==i386_old.md== ... ;; We can't represent the LT test directly. Do this by swapping the operands. (define_split [(set (match_operand:SF 0 "fp_register_

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-20 Thread martin at mpa-garching dot mpg dot de
-- What|Removed |Added CC||martin at mpa-garching dot ||mpg dot de http://gcc.gnu.org/bugz

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-20 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-01-20 13:25 --- Adding ssemmx keyword, because this problem is triggered by -mfpmath=sse. -- What|Removed |Added

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-20 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-01-20 19:12 --- (In reply to comment #4) > This functionality is missing after FP compares rewrite... No, it got moved to ix86_expand_fp_movcc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19506

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-20 Thread rth at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org |dot org | Status|UNCONFIRMED

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-20 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-01-21 06:48 --- I hope this analysis is of some help: - the patch in comment #2 fixes the problem - if bypass_code is cleared for (code == LT) in ix86_expand_branch() _and_ ix86_fp_comparison_fcomi_cost() the problem shows again.

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-21 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-01-21 12:51 --- Similar problems as described in comment #2 happens for -mfpmath=sse -mno-80387. However, a patch at http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01464.html is needed, otherwise compilation fails. -- http://gcc

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-21 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-01-21 22:03 --- I've found the problem, via binary search on the povray source and then visual inspection of the file found to be miscompiled. The mov[sd]fcc_1_sse patterns are missing an earlyclobber. The fix isn't quite as

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-22 Thread uros at kss-loka dot si
--- Additional Comments From uros at kss-loka dot si 2005-01-22 11:34 --- Should patch to sse_comparison_operator (http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01087.html) be reverted in this case? It didn't fix the problem, and according to comment #9 the problem is not in this area.

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-22 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-22 23:08 --- Subject: Bug 19506 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-01-22 23:07:57 Modified files: gcc: ChangeLog gcc/config/i386: i

[Bug target/19506] [4.0 Regression] PovRay produces wrong pictures with -mfpmath=sse -ffast-math.

2005-01-22 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-01-22 23:23 --- (In reply to comment #10) > Should patch to sse_comparison_operator [...] be reverted in this case? Nah. As I said in that message, allowing these operators in this manner doesn't actually give the register al