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 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 3 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. If not, see http://www.gnu.org/licenses/. */ 23 24 #include "gmp.h" 25 #include "gmp-impl.h" 26 27 #include "speed.h" 28 29 30 void 31 noop (void) 32 { 33 } 34 35 /*ARGSUSED*/ 36 void 37 noop_1 (mp_limb_t n) 38 { 39 } 40 41 /*ARGSUSED*/ 42 void 43 noop_wxs (mp_ptr wp, mp_srcptr xp, mp_size_t size) 44 { 45 } 46 47 /*ARGSUSED*/ 48 void 49 noop_wxys (mp_ptr wp, mp_srcptr xp, mp_srcptr yp, mp_size_t size) 50 { 51 } 52 53 /*ARGSUSED*/ 54 void 55 mpn_cache_fill_dummy (mp_limb_t n) 56 { 57 } 58