From: <guerby@acm.org>
To: jbuck@synopsys.COM
Cc: torvalds@transmeta.com, pkoning@equallogic.com, gcc@gcc.gnu.org
Subject: Re: Optimizations on long long multiply/divide on PowerPC32 don't
Date: Mon, 10 Dec 2001 13:49:00 -0000 [thread overview]
Message-ID: <200112102132.fBALW5L02834@ulmo.localdomain> (raw)
In-Reply-To: <200112101931.LAA17422@atrus.synopsys.com> (message from Joe Buck on Mon, 10 Dec 2001 11:31:38 -0800 (PST))
> No, even in C++ GCC does not inline functions without optimization.
Same thing for Ada, although a GNAT specific pragma named
Inline_Always exists, my reading of gigi code implies that it still
requires optimizations to be active for the inlining to occur:
gcc/ada/trans.c
<<
static void
process_inlined_subprograms (gnat_node)
Node_Id gnat_node;
{
Entity_Id gnat_entity;
Node_Id gnat_body;
/* If we can inline, generate RTL for all the inlined subprograms.
Define the entity first so we set DECL_EXTERNAL. */
if (optimize > 0 && ! flag_no_inline)
>>
gcc/ada/gnat_rm.texi
<<
@findex Inline_Always
@item pragma Inline_Always
@noindent
Syntax:
@smallexample
pragma Inline_Always (NAME [, NAME]);
@end smallexample
@noindent
Similar to pragma @code{Inline} except that inlining is not subject to
the use of option @code{-gnatn} for inter-unit inlining.
>>
Should I provide a patch to mention explicitely that optimization
needs to be on for inlining to occur with Inline_Always?
--
Laurent Guerby <guerby@acm.org>
next prev parent reply other threads:[~2001-12-10 21:42 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-07 16:08 Optimizations on long long multiply/divide on PowerPC32 don't work Corey Minyard
2001-12-07 17:08 ` Richard Henderson
2001-12-07 17:40 ` Corey Minyard
2001-12-09 23:29 ` Linus Torvalds
2001-12-10 1:15 ` Richard Henderson
2001-12-10 1:24 ` Richard Henderson
2001-12-10 2:40 ` Franz Sirl
2001-12-10 9:21 ` Linus Torvalds
2001-12-10 10:59 ` Franz Sirl
2001-12-10 11:11 ` Linus Torvalds
2001-12-10 11:31 ` Gabriel Paubert
2001-12-10 17:58 ` Richard Henderson
2002-01-22 8:51 ` Franz Sirl
2002-01-22 12:04 ` Richard Henderson
2002-01-23 7:24 ` Gerald Pfeifer
2002-02-03 10:44 ` Franz Sirl
2001-12-10 9:15 ` Linus Torvalds
2001-12-10 13:03 ` Richard Henderson
2001-12-10 13:59 ` Linus Torvalds
2001-12-10 9:09 ` Paul Koning
2001-12-10 10:23 ` Linus Torvalds
2001-12-10 11:35 ` Optimizations on long long multiply/divide on PowerPC32 don't Joe Buck
2001-12-10 13:49 ` guerby [this message]
2001-12-10 14:08 ` Arnaud Charlet
2001-12-10 14:31 ` guerby
2001-12-10 9:09 ` Optimizations on long long multiply/divide on PowerPC32 don't work Christoph Hellwig
2001-12-11 6:23 Optimizations on long long multiply/divide on PowerPC32 don't dewar
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=200112102132.fBALW5L02834@ulmo.localdomain \
--to=guerby@acm.org \
--cc=gcc@gcc.gnu.org \
--cc=jbuck@synopsys.COM \
--cc=pkoning@equallogic.com \
--cc=torvalds@transmeta.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).