1dnl Intel Atom mpn_addlsh2_n/mpn_rsblsh2_n -- rp[] = (vp[] << 2) +- up[] 2 3dnl Contributed to the GNU project by Marco Bodrato. 4 5dnl Copyright 2011 Free Software Foundation, Inc. 6dnl 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 10dnl modify it under the terms of the GNU Lesser General Public License as 11dnl published by the Free Software Foundation; either version 3 of the 12dnl License, or (at your option) any later version. 13dnl 14dnl The GNU MP Library is distributed in the hope that it will be useful, 15dnl but WITHOUT ANY WARRANTY; without even the implied warranty of 16dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17dnl Lesser General Public License for more details. 18dnl 19dnl You should have received a copy of the GNU Lesser General Public License 20dnl along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. 21 22include(`../config.m4') 23 24define(LSH, 2) 25define(RSH, 30) 26 27ifdef(`OPERATION_addlsh2_n', ` 28 define(M4_inst, adcl) 29 define(M4_opp, subl) 30 define(M4_function, mpn_addlsh2_n) 31 define(M4_function_c, mpn_addlsh2_nc) 32',`ifdef(`OPERATION_rsblsh2_n', ` 33 define(M4_inst, sbbl) 34 define(M4_opp, addl) 35 define(M4_function, mpn_rsblsh2_n) 36 define(M4_function_c, mpn_rsblsh2_nc) 37',`m4_error(`Need OPERATION_addlsh2_n or OPERATION_rsblsh2_n 38')')') 39 40MULFUNC_PROLOGUE(mpn_addlsh2_n mpn_addlsh2_nc mpn_rsblsh2_n mpn_rsblsh2_nc) 41 42include_mpn(`x86/atom/aorrlshC_n.asm') 43