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.)

Re: adding attributes

2022-11-10 Thread Bernhard Reutner-Fischer via Fortran
Hi! On Mon, 07 Nov 2022 11:04:17 + Dave Love via Fortran wrote: > 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

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

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-06 Thread Thomas Koenig via Fortran
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. So, yes please submit a patch, if you would b

Re: adding attributes

2022-11-05 Thread Bernhard Reutner-Fischer via Fortran
On Sat, 5 Nov 2022 08:40:06 +0100 Thomas Koenig wrote: > On 04.11.22 21:59, Bernhard Reutner-Fischer via Fortran wrote: > > And not sure if fellow gfortraners would accept this attribute > > target_clones in there in the first place.. > > It might actually be useful. Is there any change about

Re: adding attributes

2022-11-05 Thread Thomas Koenig via Fortran
On 04.11.22 21:59, Bernhard Reutner-Fischer via Fortran wrote: And not sure if fellow gfortraners would accept this attribute target_clones in there in the first place.. It might actually be useful. Is there any change about the calling sequence or anything else that should be visible in a For

Re: adding attributes

2022-11-04 Thread Bernhard Reutner-Fischer via Fortran
On Thu, 3 Nov 2022 00:19:26 +0100 Bernhard Reutner-Fischer wrote: > So target_clones is one thing. What other attributes would be important? > > doing something previously! (I don't know if I'll actually be able to > > work on it in the end, at least on work time.) > > heh, me neither. Lucki

Re: adding attributes

2022-11-02 Thread Bernhard Reutner-Fischer via Fortran
On Mon, 31 Oct 2022 21:19:18 + Dave Love via Fortran wrote: > Bernhard Reutner-Fischer via Fortran writes: > > Ideally the syntax would be the same as in C. > > Right. I hoped it would be possible to lift machinery easily from C. Lifting that won't work easily, no. > There's no standa

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-10-30 Thread Bernhard Reutner-Fischer via Fortran
On Fri, 28 Oct 2022 15:35:45 +0100 Dave Love via Fortran wrote: > 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 mak