/* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004, 20051Free Software Foundation, Inc.23This file is free software; you can redistribute it and/or modify it4under the terms of the GNU General Public License as published by the5Free Software Foundation; either version 2, or (at your option) any6later version.78In addition to the permissions in the GNU General Public License, the9Free Software Foundation gives you unlimited permission to link the10compiled version of this file into combinations with other programs,11and to distribute those combinations without any restriction coming12from the use of this file. (The General Public License restrictions13do apply in other respects; for example, they cover modification of14the file, and distribution when not linked into a combine15executable.)1617This file is distributed in the hope that it will be useful, but18WITHOUT ANY WARRANTY; without even the implied warranty of19MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU20General Public License for more details.2122You should have received a copy of the GNU General Public License23along with this program; see the file COPYING. If not, write to24the Free Software Foundation, 51 Franklin Street, Fifth Floor,25Boston, MA 02110-1301, USA. */262728#include <linux/linkage.h>2930#ifdef __ARMEB__31#define al r132#define ah r033#else34#define al r035#define ah r136#endif3738ENTRY(__ashldi3)39ENTRY(__aeabi_llsl)4041subs r3, r2, #3242rsb ip, r2, #3243movmi ah, ah, lsl r244movpl ah, al, lsl r345ARM( orrmi ah, ah, al, lsr ip )46THUMB( lsrmi r3, al, ip )47THUMB( orrmi ah, ah, r3 )48mov al, al, lsl r249mov pc, lr5051ENDPROC(__ashldi3)52ENDPROC(__aeabi_llsl)535455