div64.S (e5451c8f8330e03ad3cfa16048b4daf961af434f) | div64.S (4dd1837d7589f468ed109556513f476e7a7f9121) |
---|---|
1/* 2 * linux/arch/arm/lib/div64.S 3 * 4 * Optimized computation of 64-bit dividend / 32-bit divisor 5 * 6 * Author: Nicolas Pitre 7 * Created: Oct 5, 2003 8 * Copyright: Monta Vista Software, Inc. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License version 2 as 12 * published by the Free Software Foundation. 13 */ 14 15#include <linux/linkage.h> 16#include <asm/assembler.h> 17#include <asm/unwind.h> | 1/* 2 * linux/arch/arm/lib/div64.S 3 * 4 * Optimized computation of 64-bit dividend / 32-bit divisor 5 * 6 * Author: Nicolas Pitre 7 * Created: Oct 5, 2003 8 * Copyright: Monta Vista Software, Inc. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License version 2 as 12 * published by the Free Software Foundation. 13 */ 14 15#include <linux/linkage.h> 16#include <asm/assembler.h> 17#include <asm/unwind.h> |
18#include <asm/export.h> |
|
18 19#ifdef __ARMEB__ 20#define xh r0 21#define xl r1 22#define yh r2 23#define yl r3 24#else 25#define xl r0 --- 179 unchanged lines hidden (view full) --- 205 @ as wrong as it could be... 206 mov yl, #0 207 mov yh, #0 208 mov xh, #0 209 ldr pc, [sp], #8 210 211UNWIND(.fnend) 212ENDPROC(__do_div64) | 19 20#ifdef __ARMEB__ 21#define xh r0 22#define xl r1 23#define yh r2 24#define yl r3 25#else 26#define xl r0 --- 179 unchanged lines hidden (view full) --- 206 @ as wrong as it could be... 207 mov yl, #0 208 mov yh, #0 209 mov xh, #0 210 ldr pc, [sp], #8 211 212UNWIND(.fnend) 213ENDPROC(__do_div64) |
214EXPORT_SYMBOL(__do_div64) |
|