source: trunk/third/gmp/tune/noop.c @ 18191

Revision 18191, 1.3 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18190, which included commits to RCS files with non-trunk default branches.
Line 
1/* Noop routines.
2
3   These are in a separate file to stop gcc recognising do-nothing functions
4   and optimizing away calls to them.  */
5
6/*
7Copyright 1999, 2000 Free Software Foundation, Inc.
8
9This file is part of the GNU MP Library.
10
11The GNU MP Library is free software; you can redistribute it and/or modify
12it under the terms of the GNU Lesser General Public License as published by
13the Free Software Foundation; either version 2.1 of the License, or (at your
14option) any later version.
15
16The GNU MP Library is distributed in the hope that it will be useful, but
17WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
19License for more details.
20
21You should have received a copy of the GNU Lesser General Public License
22along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
23the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
24MA 02111-1307, USA.
25*/
26
27#include "gmp.h"
28#include "gmp-impl.h"
29
30#include "speed.h"
31
32
33void
34noop (void)
35{
36}
37
38/*ARGSUSED*/
39void
40noop_1 (mp_limb_t n)
41{
42}
43
44/*ARGSUSED*/
45void
46noop_wxs (mp_ptr wp, mp_srcptr xp, mp_size_t size)
47{
48}
49
50/*ARGSUSED*/
51void
52noop_wxys (mp_ptr wp, mp_srcptr xp, mp_srcptr yp, mp_size_t size)
53{
54}
55
56/*ARGSUSED*/
57void
58mpn_cache_fill_dummy (mp_limb_t n)
59{
60}
Note: See TracBrowser for help on using the repository browser.