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 either: 13 14 * the GNU Lesser General Public License as published by the Free 15 Software Foundation; either version 3 of the License, or (at your 16 option) any later version. 17 18or 19 20 * the GNU General Public License as published by the Free Software 21 Foundation; either version 2 of the License, or (at your option) any 22 later version. 23 24or both in parallel, as here. 25 26The GNU MP Library is distributed in the hope that it will be useful, but 27WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 28or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 29for more details. 30 31You should have received copies of the GNU General Public License and the 32GNU Lesser General Public License along with the GNU MP Library. If not, 33see https://www.gnu.org/licenses/. */ 34 35#include "gmp-impl.h" 36 37#include "speed.h" 38 39 40void 41noop (void) 42{ 43} 44 45/*ARGSUSED*/ 46void 47noop_1 (mp_limb_t n) 48{ 49} 50 51/*ARGSUSED*/ 52void 53noop_wxs (mp_ptr wp, mp_srcptr xp, mp_size_t size) 54{ 55} 56 57/*ARGSUSED*/ 58void 59noop_wxys (mp_ptr wp, mp_srcptr xp, mp_srcptr yp, mp_size_t size) 60{ 61} 62 63/*ARGSUSED*/ 64void 65mpn_cache_fill_dummy (mp_limb_t n) 66{ 67} 68