sh: Provide optimized unaligned loads on SH-4A.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 25 Nov 2008 15:29:58 +0000 (00:29 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:43:48 +0000 (18:43 +0900)
commit95b781c239f53b4c7ecaf2989404ec6379b2409b
tree1459af74b141a507a903662dc9156b0e36cd1540
parent716777db7270255f1f7210fd87a7188b08c9a267
sh: Provide optimized unaligned loads on SH-4A.

This adds support for unaligned loads on SH-4A, using the SH-4A's
neutered movua.l instruction. As movua.l is r0-inspired, stores are
still handled through the packed struct.

Based on asm-generic/unaligned.h by Harvey Harrison.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/unaligned-sh4a.h [new file with mode: 0644]
arch/sh/include/asm/unaligned.h