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] | |
If one of or both of you would like to implement this, then please do so. The inline code is ready to go and works with anything, as far as I have been able to determine. The standard allows to override an intrinsic with a local version that has the same type and type properties, as the attached shows. So I am not sure that I see the purpose in a switch.
IMHO a good solution would be to always inline (thus getting rid of
dot_product in libgfortran), and have an option to use an optimized
BLAS version for large arrays (with a user-selectable cross-over
switch to override the default) if applicable (see PR26025).
Let's scrub the library version. It is not worth worrying about Os; especially when the performance for large arrays will be more or less the same.One reason to keep the libgfortran library version would be if we'd like to avoid inlining for -Os, but I suspect that issue won't matter anyway considering how Fortran is used in practice.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |