[PATCH v3 03/13] pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Jan 27 14:43:25 PST 2015


On Tue, Jan 27, 2015 at 09:55:52PM +0000, Peter Rosin wrote:
> I have now checked the assembler output, and apparently it mends the
> input, just as I thought. That might be a fluke, of course, or it might be a
> deliberate shorthand when the destination register is the same as the
> following operand?

I believe it is because we have the assembler in unified asm mode, where
such things are legal (due to Thumb2.)  That means these two are
legal:

	orr	r2, #const
	orr	r2, r2, #const

and equivalent in this context.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list