[Bug fortran/39087] New: Performance using COMPLEX data type
m4341 at abc dot se
gcc-bugzilla@gcc.gnu.org
Tue Feb 3 15:44:00 GMT 2009
I have noticed that in some cases - especially calculating Mandelbrot Fractals
there is a severe performance penalty if the COMPLEX data type is used instead
of plain variables.
It's nothing wrong with the calculation, but it shall be noted that it can mean
a severe performance penalty if the COMPLEX data type is used.
Result of test cases I have created:
---
[root@cvs2 frac]# time ./m6
real 0m5.806s
user 0m1.705s
sys 0m0.032s
[root@cvs2 frac]# time ./m7
real 0m18.598s
user 0m12.469s
sys 0m0.036s
---
--
Summary: Performance using COMPLEX data type
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: m4341 at abc dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39087
More information about the Gcc-bugs
mailing list