public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Denys Vlasenko <dvlasenk@redhat.com>
Cc: gcc-patches@gcc.gnu.org,  Andrew Pinski <pinskia@gmail.com>,
	 Uros Bizjak <ubizjak@gmail.com>,
	 Bernd Schmidt <bschmidt@redhat.com>
Subject: Re: [PATCH 2/2] Extend -falign-FOO=N to N[,M[,N2[,M2]]]
Date: Thu, 29 Sep 2016 08:27:00 -0000	[thread overview]
Message-ID: <87ponn9lri.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <20160928125704.29624-3-dvlasenk@redhat.com> (Denys Vlasenko's	message of "Wed, 28 Sep 2016 14:57:04 +0200")

* Denys Vlasenko:

> Example syntax is -falign-functions=64,9: "align to 64 by skipping up to
> 9 bytes (not inclusive)". IOW: "after a call insn, CPU will always be able
> to fetch at least 9 bytes of insns".

Is it possible to set this using the optimize function attribute?

For example, we could use this to reduce alignment for compat
functions in glibc.

  reply	other threads:[~2016-09-29  8:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-28 13:13 [PATCH 0/2] Extend -falign-FOO=N to N[,M[,N2[,M2]]] version 4 Denys Vlasenko
2016-09-28 12:57 ` [PATCH 1/2] Temporary remove "at least 8 byte alignment" code from x86 Denys Vlasenko
2016-09-28 13:31 ` [PATCH 2/2] Extend -falign-FOO=N to N[,M[,N2[,M2]]] Denys Vlasenko
2016-09-29  8:27   ` Florian Weimer [this message]
2016-09-29 14:54   ` Bernd Schmidt
2016-09-29 17:36     ` Denys Vlasenko
2016-09-29 22:04       ` Denys Vlasenko
2016-09-30 12:10       ` Bernd Schmidt
2016-09-30 15:40         ` Denys Vlasenko

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=87ponn9lri.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=bschmidt@redhat.com \
    --cc=dvlasenk@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=pinskia@gmail.com \
    --cc=ubizjak@gmail.com \
    /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).