This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

where is math function inlining decision done?


I decided to examine one of the outliers in the benchmarks.

It seems that although the output of
-fdump-tree-optimised
is quite similar.

however, process sampling indicates that fmod might be the culprit ....

In the case of one processor __builtin_fmod is getting replaced by an inline
In the case of the other __builtin_fmod is generating a call to libm.


Where does gcc decide how to replace __builtin_fmod ?

thanks,
Iain


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