adding attributes

2022-10-28 Thread Dave Love via Fortran
Assuming there's no technical reason not to, can someone say what would be involved in adding relevant attributes (at least function ones) like those for C? I'm thinking particularly of target_clones, but others probably make sense. I don't know my way around, but I had a quick look, and it at le

Re: adding attributes

2022-10-31 Thread Dave Love via Fortran
Bernhard Reutner-Fischer via Fortran writes: > Well we already have > !GCC$ ATTRIBUTES attribute-list :: var-name [, var-name] ... > > See https://gcc.gnu.org/onlinedocs/gfortran/ATTRIBUTES-directive.html Yes, that's what I was hoping was simple to extend. Sorry I didn't say explicitly. > For

Re: adding attributes

2022-11-07 Thread Dave Love via Fortran
Bernhard Reutner-Fischer via Fortran writes: > I see. > So target_clones is one thing. What other attributes would be important? At least optimization-related ones could be useful, and possibly others. I haven't made a list, but could do. > In your job script you would use cpuid(1) to determine

Re: adding attributes

2022-11-07 Thread Dave Love via Fortran
Thomas Koenig via Fortran writes: > Hi Bernhard, > >> If you think that we want to add support for that attribute, i can >> submit a proper patch. Just let me know please. > > I think this attribute makes sense, especially if people want to > compile once and then port to different architectures.

Re: adding attributes

2023-02-24 Thread Dave Love via Fortran
I noticed other attributes have been added now. What happened to target_clones, in particular? (Thanks for working on it.)