questions

Kevin Diggs kevdig at hypersurf.com
Mon May 26 10:32:29 EST 2008


Hi,

	In idle_6xx.S one finds instructions like:

	lis   r4,powersave_nap at ha
	lwz   r4,powersave_nap at 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




More information about the Linuxppc-dev mailing list