2 * linux/arch/arm26/lib/io-readsl.S
4 * Copyright (C) 1995-2000 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 #include <linux/linkage.h>
11 #include <asm/assembler.h>
12 #include <asm/hardware.h>
15 * Note that some reads can be aligned on half-word boundaries.
18 teq r2, #0 @ do we have to check for the zero len?
40 orrne ip, ip, r3, lsl #16
57 orrne ip, ip, r3, lsl #8
68 orrne ip, ip, r3, lsl #24