Annotation of OpenXM_contrib/gmp/tune/noop.c, Revision 1.1
1.1 ! maekawa 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: /*
! 7: Copyright (C) 1999, 2000 Free Software Foundation, Inc.
! 8:
! 9: This file is part of the GNU MP Library.
! 10:
! 11: The GNU MP Library is free software; you can redistribute it and/or modify
! 12: it under the terms of the GNU Lesser General Public License as published by
! 13: the Free Software Foundation; either version 2.1 of the License, or (at your
! 14: option) any later version.
! 15:
! 16: The GNU MP Library is distributed in the hope that it will be useful, but
! 17: WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
! 18: or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
! 19: License for more details.
! 20:
! 21: You should have received a copy of the GNU Lesser General Public License
! 22: along with the GNU MP Library; see the file COPYING.LIB. If not, write to
! 23: the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
! 24: MA 02111-1307, USA.
! 25: */
! 26:
! 27: #include "gmp.h"
! 28: #include "gmp-impl.h"
! 29:
! 30: #include "speed.h"
! 31:
! 32:
! 33: void
! 34: noop (void)
! 35: {
! 36: }
! 37:
! 38: /*ARGSUSED*/
! 39: void
! 40: noop_1 (mp_limb_t n)
! 41: {
! 42: }
! 43:
! 44: /*ARGSUSED*/
! 45: void
! 46: noop_wxs (mp_ptr wp, mp_srcptr xp, mp_size_t size)
! 47: {
! 48: }
! 49:
! 50: /*ARGSUSED*/
! 51: void
! 52: noop_wxys (mp_ptr wp, mp_srcptr xp, mp_srcptr yp, mp_size_t size)
! 53: {
! 54: }
! 55:
! 56: /*ARGSUSED*/
! 57: void
! 58: mpn_cache_fill_dummy (mp_limb_t n)
! 59: {
! 60: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>