1dnl Intel Atom mpn_rsblsh1_n -- rp[] = (vp[] << 1) - up[] 2 3dnl Contributed to the GNU project by Marco Bodrato. 4 5dnl Copyright 2011 Free Software Foundation, Inc. 6 7dnl This file is part of the GNU MP Library. 8dnl 9dnl The GNU MP Library is free software; you can redistribute it and/or modify 10dnl it under the terms of either: 11dnl 12dnl * the GNU Lesser General Public License as published by the Free 13dnl Software Foundation; either version 3 of the License, or (at your 14dnl option) any later version. 15dnl 16dnl or 17dnl 18dnl * the GNU General Public License as published by the Free Software 19dnl Foundation; either version 2 of the License, or (at your option) any 20dnl later version. 21dnl 22dnl or both in parallel, as here. 23dnl 24dnl The GNU MP Library is distributed in the hope that it will be useful, but 25dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 26dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 27dnl for more details. 28dnl 29dnl You should have received copies of the GNU General Public License and the 30dnl GNU Lesser General Public License along with the GNU MP Library. If not, 31dnl see https://www.gnu.org/licenses/. 32 33include(`../config.m4') 34 35define(LSH, 1) 36define(RSH, 31) 37 38ifdef(`OPERATION_addlsh1_n', ` 39 define(M4_inst, adc) 40 define(M4_opp, sub) 41 define(M4_function, mpn_addlsh1_n) 42 define(M4_function_c, mpn_addlsh1_nc) 43',`ifdef(`OPERATION_rsblsh1_n', ` 44 define(M4_inst, sbb) 45 define(M4_opp, add) 46 define(M4_function, mpn_rsblsh1_n) 47 define(M4_function_c, mpn_rsblsh1_nc) 48',`m4_error(`Need OPERATION_addlsh1_n or OPERATION_rsblsh1_n 49')')') 50 51MULFUNC_PROLOGUE(mpn_addlsh1_n mpn_addlsh1_nc mpn_rsblsh1_n mpn_rsblsh1_nc) 52 53include_mpn(`x86/atom/aorrlshC_n.asm') 54