projects
/
oweals
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of git://git.denx.de/u-boot-spi
[oweals/u-boot.git]
/
arch
/
arm
/
lib
/
_ashldi3.S
1
/* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004, 2005
2
Free Software Foundation, Inc.
3
4
* SPDX-License-Identifier: GPL-2.0+
5
*/
6
7
#include <linux/linkage.h>
8
9
#ifdef __ARMEB__
10
#define al r1
11
#define ah r0
12
#else
13
#define al r0
14
#define ah r1
15
#endif
16
17
.globl __ashldi3
18
__ashldi3:
19
ENTRY(__aeabi_llsl)
20
21
subs r3, r2, #32
22
rsb ip, r2, #32
23
movmi ah, ah, lsl r2
24
movpl ah, al, lsl r3
25
orrmi ah, ah, al, lsr ip
26
mov al, al, lsl r2
27
mov pc, lr
28
ENDPROC(__aeabi_llsl)