From: mru@users.sourceforge.net (Måns Rullgård)
To: "Kingsley Foreman" <kingsley@uglypunk.com>
Cc: "Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: do u get better performance from optimizing the code
Date: 15 May 2002 15:52:14 +0200 [thread overview]
Message-ID: <yw1xhel9v7qp.fsf@calippo.e.kth.se> (raw)
In-Reply-To: <023101c1fc14$e62c4150$0f0da8c0@Sabine>
"Kingsley Foreman" <kingsley@uglypunk.com> writes:
> just out of curiosity will the kernel perform better if you
> change the optimizations using C++ eg use -O9 or something during compile
The kernel is written in C, so don't use a C++ compiler. GCC has four
levels of optimization:
0 = nothing
1 = -O, simple things
2 = some more
3 = function inlining etc.
Anyting >3 is treated as 3.
--
Måns Rullgård
mru@users.sf.net
prev parent reply other threads:[~2002-05-15 13:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-15 13:32 Kingsley Foreman
2002-05-15 13:52 ` Måns Rullgård [this message]
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=yw1xhel9v7qp.fsf@calippo.e.kth.se \
--to=mru@users.sourceforge.net \
--cc=kingsley@uglypunk.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®