MN10300: Handle misaligned postinc-with-imm addressing mode correctly
authorDavid Howells <dhowells@redhat.com>
Wed, 12 Nov 2008 15:35:35 +0000 (15:35 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Nov 2008 18:41:17 +0000 (10:41 -0800)
commit6d615c78fb92fbd80e52ba7acb2d4c4d503006c3
tree8ea928819e0e5efe9b112ce97f1e41ba0fa8e6a2
parentddb6d05cbaea76eddbee52585152ab801a8aedc7
MN10300: Handle misaligned postinc-with-imm addressing mode correctly

Correctly handle misalignment in MOV instructions with postinc-with-immediate
addressing mode operands.  In these, the immediate value is the increment to
be applied the address register, not the displacement to the address.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/mm/misalignment.c