public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Asking for HELP
@ 2024-04-09  7:45 Jora Gevorgyan
  2024-04-09 11:18 ` Richard Biener
  0 siblings, 1 reply; 3+ messages in thread
From: Jora Gevorgyan @ 2024-04-09  7:45 UTC (permalink / raw)
  To: gcc

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

Hi!

We're trying to improve the optimization process in GCC by adding manual
optimization attributes to some needed functions. I couldn't yet find the
code routine where the attributes can be added to a special function
declaration. Could you please help me understand what's happening there?

Thanks in advance.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Asking for HELP
  2024-04-09  7:45 Asking for HELP Jora Gevorgyan
@ 2024-04-09 11:18 ` Richard Biener
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Biener @ 2024-04-09 11:18 UTC (permalink / raw)
  To: Jora Gevorgyan; +Cc: gcc

On Tue, Apr 9, 2024 at 9:47 AM Jora Gevorgyan via Gcc <gcc@gcc.gnu.org> wrote:
>
> Hi!
>
> We're trying to improve the optimization process in GCC by adding manual
> optimization attributes to some needed functions. I couldn't yet find the
> code routine where the attributes can be added to a special function
> declaration. Could you please help me understand what's happening there?

I think you need to elaborate on what kind of attributes and what exactly a
special function declaration is for us to give a reasonable answer.  Maybe
giving an example helps understanding your request.

Richard.

> Thanks in advance.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Asking for HELP
@ 2024-05-03  5:32 Jora Gevorgyan
  0 siblings, 0 replies; 3+ messages in thread
From: Jora Gevorgyan @ 2024-05-03  5:32 UTC (permalink / raw)
  To: gcc

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

Hi! I'm trying to modify the GCC source code to get something done. But
there's a difficulty in understanding how to use some functions and data
structures. Please help me with some hints.

Here is the problem: in the file GCC-source/gcc/c/c-decl.c, before
'c_decl_attributes' is called in 'start_function', I want to insert some
additional optimize attributes in 'attributes' tree to be proceed, but I
could not find the correct way to insert a new tree in it.
 Thanks in advance.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-03  5:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-09  7:45 Asking for HELP Jora Gevorgyan
2024-04-09 11:18 ` Richard Biener
2024-05-03  5:32 Jora Gevorgyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).