diff options
Diffstat (limited to 'arch/blackfin/lib/modsi3.S')
-rw-r--r-- | arch/blackfin/lib/modsi3.S | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/arch/blackfin/lib/modsi3.S b/arch/blackfin/lib/modsi3.S index ca1dd3973b39..8b0c7d4052af 100644 --- a/arch/blackfin/lib/modsi3.S +++ b/arch/blackfin/lib/modsi3.S | |||
@@ -1,36 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/lib/modsi3.S | 2 | * This program computes 32 bit signed remainder. It calls div32 function |
3 | * Based on: | 3 | * for quotient estimation. |
4 | * Author: | 4 | * Registers in: R0, R1 = Numerator/ Denominator |
5 | * Registers out: R0 = Remainder | ||
5 | * | 6 | * |
6 | * Created: | 7 | * Copyright 2004-2009 Analog Devices Inc. |
7 | * Description: This program computes 32 bit signed remainder. It calls div32 function | ||
8 | * for quotient estimation. | ||
9 | * | 8 | * |
10 | * Registers used : | 9 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
11 | * Numerator/ Denominator in R0, R1 | ||
12 | * R0 - returns remainder. | ||
13 | * R2-R7 | ||
14 | * | ||
15 | * Modified: | ||
16 | * Copyright 2004-2006 Analog Devices Inc. | ||
17 | * | ||
18 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
19 | * | ||
20 | * This program is free software; you can redistribute it and/or modify | ||
21 | * it under the terms of the GNU General Public License as published by | ||
22 | * the Free Software Foundation; either version 2 of the License, or | ||
23 | * (at your option) any later version. | ||
24 | * | ||
25 | * This program is distributed in the hope that it will be useful, | ||
26 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
27 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
28 | * GNU General Public License for more details. | ||
29 | * | ||
30 | * You should have received a copy of the GNU General Public License | ||
31 | * along with this program; if not, see the file COPYING, or write | ||
32 | * to the Free Software Foundation, Inc., | ||
33 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
34 | */ | 10 | */ |
35 | 11 | ||
36 | .global ___modsi3; | 12 | .global ___modsi3; |