From: olof@lixom•net (Olof Johansson)
To: Paul Mackerras <paulus@samba•org>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: [PATCH] powerpc: Don't use long for 32-bit temp variables in spin lock ops
Date: Wed, 13 Jun 2007 09:14:52 -0500 [thread overview]
Message-ID: <20070613141452.GA9822@lixom.net> (raw)
In-Reply-To: <18031.29567.757635.864638@cargo.ozlabs.ibm.com>
On Wed, Jun 13, 2007 at 02:33:03PM +1000, Paul Mackerras wrote:
> > Note the cmpdi at ..78 when r9 was loaded with lwarx.
>
> That's OK; the lwarx is defined to zero-extend the value to 64 bits.
>
> Or are you implying that cmpdi is slower than cmpwi on some 64-bit
> processors? :)
Nope, it was just seemed inconsistent to me, especially since the
preceding (asm) comparison was 32-bit.
-Olof
prev parent reply other threads:[~2007-06-13 14:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-07 17:08 [PATCH] powerpc: Don't use long for 32-bit temp variables in spin lock ops Olof Johansson
2007-06-13 4:33 ` Paul Mackerras
2007-06-13 14:14 ` Olof Johansson [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=20070613141452.GA9822@lixom.net \
--to=olof@lixom$(echo .)net \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=paulus@samba$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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