public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Kevin Diggs <kevdig@hypersurf•com>
To: linuxppc-dev@ozlabs•org
Subject: questions
Date: Sun, 25 May 2008 17:32:29 -0700	[thread overview]
Message-ID: <483A051D.1010108@hypersurf.com> (raw)

Hi,

	In idle_6xx.S one finds instructions like:

	lis   r4,powersave_nap@ha
	lwz   r4,powersave_nap@l(r4)

Can someone explain what this is doing? Presumably the first is loading 
an address and the second a value. What do the '@ha' and '@l' do?

	Also, is there any performance difference between:

	lbz rD,d(rA)
	lhz rD,d(rA)
	lwz rD,d(rA)

	While I'm wasting your time, I picked up an ADB infrared wireless 
keyboard. I think it works. But not under Linux. Should it?

	And is there any reason to prefer one over the other for doing byte 
swapping:

	lwbrx rD,rA,rB
	stwbrx rS,rA,rB

kevin

             reply	other threads:[~2008-05-26  0:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-26  0:32 Kevin Diggs [this message]
2008-05-25 21:31 ` questions Brad Boyer
  -- strict thread matches above, loose matches on Subject: below --
1999-12-23  3:08 questions Ted Merrill

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=483A051D.1010108@hypersurf.com \
    --to=kevdig@hypersurf$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(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