Annotation of OpenXM_contrib/pari-2.2/src/kernel/none/asm0.h, Revision 1.1.1.1
1.1 noro 1: /* $Id: asm0.h,v 1.2 2000/11/03 21:00:26 karim Exp $
2:
3: Copyright (C) 2000 The PARI group.
4:
5: This file is part of the PARI/GP package.
6:
7: PARI/GP is free software; you can redistribute it and/or modify it under the
8: terms of the GNU General Public License as published by the Free Software
9: Foundation. It is distributed in the hope that it will be useful, but WITHOUT
10: ANY WARRANTY WHATSOEVER.
11:
12: Check the License for details. You should have received a copy of it, along
13: with the package; see the file 'COPYING'. If not, write to the Free Software
14: Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
15:
16: /* This file defines the prototypes of "level 0" kernel functions */
17: /* It is intended for use with an external "asm" definition */
18:
19: #define LOCAL_OVERFLOW
20: #define SAVE_OVERFLOW
21: #define LOCAL_HIREMAINDER
22: #define SAVE_HIREMAINDER
23:
24: BEGINEXTERN
25: extern ulong overflow;
26: extern ulong hiremainder;
27: extern long addll(ulong x, ulong y);
28: extern long addllx(ulong x, ulong y);
29: extern long subll(ulong x, ulong y);
30: extern long subllx(ulong x, ulong y);
31: extern long shiftl(ulong x, ulong y);
32: extern long shiftlr(ulong x, ulong y);
33: extern long mulll(ulong x, ulong y);
34: extern long addmul(ulong x, ulong y);
35: extern long divll(ulong x, ulong y);
36: extern int bfffo(ulong x);
37: ENDEXTERN
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>