public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Yitschak, Yehuda" <yehuday@amazon.com>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: FDO for optimal linker map
Date: Thu, 26 May 2022 05:53:19 +0000	[thread overview]
Message-ID: <76b462cb3dab454ca4382fa5eb7d9ae0@EX13D07EUA001.ant.amazon.com> (raw)

Hello

I am learned about GCC FDO capabilities but AFAICT it doesn't effect the function layout which the linker generates
My intention is to use the feedback data to create an optimal function layout to minimize I-cache misses.
Meaning to group the most frequently accessed functions together and perhaps even order them  to utilize cache prefetch better.

Is there anyway to achieve that in GCC  ?

Thanks a lot

Yehuda

             reply	other threads:[~2022-05-26  5:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26  5:53 Yitschak, Yehuda [this message]
2022-05-26 19:14 ` Alexander Monakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=76b462cb3dab454ca4382fa5eb7d9ae0@EX13D07EUA001.ant.amazon.com \
    --to=yehuday@amazon.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).