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

From: Russell King - ARM Linux
Date: Tue Jan 27 2015 - 17:43:47 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/