From: Matthias Andree <matthias.andree@stud.uni-dortmund.de>
To: linux-kernel@vger.kernel.org
Subject: Re: [RFC] OOM aware applications
Date: Tue, 25 Sep 2001 13:05:07 +0200 [thread overview]
Message-ID: <20010925130507.E1390@emma1.emma.line.org> (raw)
In-Reply-To: <3BB013D3.6060408@wipro.com>
In-Reply-To: <3BB013D3.6060408@wipro.com>
On Tue, 25 Sep 2001, BALBIR SINGH wrote:
> In the code, I see
>
> points *= 2 and points /= 4 in a few places, recommend changing them to
>
> points <<= 1 and points >>= 2 to help the compiler generate better code
Does your compiler really write different code for *= 2 and <<= 1? If
so, try -O :-)
My gcc writes addl %eax,%eax for either case.
--
Matthias Andree
"Those who give up essential liberties for temporary safety deserve
neither liberty nor safety." - Benjamin Franklin
next prev parent reply other threads:[~2001-09-25 11:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-25 5:19 BALBIR SINGH
2001-09-25 11:05 ` Matthias Andree [this message]
2001-09-25 16:46 ` Andreas Dilger
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=20010925130507.E1390@emma1.emma.line.org \
--to=matthias.andree@stud.uni-dortmund.de \
--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®