This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/24123] Massive performance regression for -ffast-math due to the recip tree pass
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2005 07:49:55 -0000
- Subject: [Bug rtl-optimization/24123] Massive performance regression for -ffast-math due to the recip tree pass
- References: <20050929140549.24123.uros@kss-loka.si>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From uros at kss-loka dot si 2005-09-30 07:49 -------
(In reply to comment #5)
> No, the RA is supposed to move the divisions so that things don't spill.
>
> Can you also try the patch at
> http://gcc.gnu.org/ml/gcc-patches/2005-09/msg01555.html
Yes, this patch fixes the problem!
(However, if this really is RA problem with divisions, this patch hides it).
Each sample counts as 0.00195312 seconds.
% cumulative self self total
time seconds seconds calls s/call s/call name
10.53 1.46 1.46 3849654 0.00 0.00
pov::Intersect_Light_Tree(pov::Ray_Struct*, pov::Project_Tree_Node_Struct*, int,
int, pov::istk_entry*, pov::Object_Struct**, pov::Light_Source_Struct*)
9.59 2.79 1.33 242013 0.00 0.00 pov::sbisect(int, pov::p*,
double, double, int, int, double*)
6.19 3.65 0.86 2622158 0.00 0.00
pov::POVFPU_RunDefault(unsigned)
5.86 4.46 0.81 3162520 0.00 0.00
pov::All_Blob_Intersections(pov::Object_Struct*, pov::Ray_Struct*,
pov::istack_struct*)
5.79 5.27 0.80 3930163 0.00 0.00
pov::block_light_source(pov::Light_Source_Struct*, double, pov::Ray_Struct*,
pov::Ray_Struct*, double*, float*)
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |23948
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24123