From: Conn Clark <clark@esteem.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: Performance on PPC8xx using string and multiple load instructions? (finalized)
Date: Thu, 09 May 2002 10:59:24 -0700 [thread overview]
Message-ID: <3CDAB8FC.D833842C@esteem.com> (raw)
Hello,
Does anyone know how using the -mstring and -mmultiple GCC
code optimization switches affect performance on the PPC8xx ? The
book I have on PPC assembly says the use of the string and
load-multiple instrutions may be signifigantly slower than the
multiple instruction equivalent on some processors. It does not tell
me which processors or why. I think it might be due to ther fact
that multiple instructions can be paired in multi instruction
pipelined chips. Since the 8xx has only a sigle pipeline I was
wondering if this was the case.
In the kernel source they use the -mmultiple and -mstring
switches in the PPC architecture dependant code. This may have been
done to reduce code size or it was done with the impression that it
would make things faster as I first thought before looking into it.
I also discovered (according to GCC documentation) that these
instructions don't work on most processors in Little-Endian Mode
(not that it gets used much). If these instructions are
signifigantly slower on some processors and won't work on most in
Little-Endian Mode is this a good idea to have them as default
optimizations for all processors?
Unfortunatly I only have access to our proprietary MPC850
board and have little experience in benchmarking. If anybody ever
benchmarked code with and with out these instructions on an 8xx
processor or other processor I would like to see the results.
Thanks in advance
Conn
--
*****************************************************************
If you live at home long enough, your parents will move out.
*****************************************************************
Conn Clark
Engineering Stooge clark@esteem.com
Electronic Systems Technology Inc. www.esteem.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
reply other threads:[~2002-05-09 17:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3CDAB8FC.D833842C@esteem.com \
--to=clark@esteem.com \
--cc=linuxppc-embedded@lists.linuxppc.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 NNTP newsgroup(s).