~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/arm/lib/_ashldi3.S

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
#ifdef __ARMEB__
 
8
#define al r1
 
9
#define ah r0
 
10
#else
 
11
#define al r0
 
12
#define ah r1
 
13
#endif
 
14
 
 
15
.globl __ashldi3
 
16
.globl  __aeabi_llsl
 
17
__ashldi3:
 
18
__aeabi_llsl:
 
19
 
 
20
        subs    r3, r2, #32
 
21
        rsb     ip, r2, #32
 
22
        movmi   ah, ah, lsl r2
 
23
        movpl   ah, al, lsl r3
 
24
        orrmi   ah, ah, al, lsr ip
 
25
        mov     al, al, lsl r2
 
26
        mov     pc, lr