1240116Smarcel/* mpn/generic/hgcd2.c for tuning 2240116Smarcel 3240116SmarcelCopyright 2019 Free Software Foundation, Inc. 4240116Smarcel 5240116SmarcelThis file is part of the GNU MP Library. 6240116Smarcel 7240116SmarcelThe GNU MP Library is free software; you can redistribute it and/or modify 8240116Smarcelit under the terms of either: 9240116Smarcel 10240116Smarcel * the GNU Lesser General Public License as published by the Free 11240116Smarcel Software Foundation; either version 3 of the License, or (at your 12240116Smarcel option) any later version. 13240116Smarcel 14240116Smarcelor 15240116Smarcel 16240116Smarcel * the GNU General Public License as published by the Free Software 17240116Smarcel Foundation; either version 2 of the License, or (at your option) any 18240116Smarcel later version. 19240116Smarcel 20240116Smarcelor both in parallel, as here. 21240116Smarcel 22240116SmarcelThe GNU MP Library is distributed in the hope that it will be useful, but 23240116SmarcelWITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 24240116Smarcelor FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 25240116Smarcelfor more details. 26240116Smarcel 27240116SmarcelYou should have received copies of the GNU General Public License and the 28240116SmarcelGNU Lesser General Public License along with the GNU MP Library. If not, 29240116Smarcelsee https://www.gnu.org/licenses/. */ 30240116Smarcel 31240116Smarcel#define TUNE_PROGRAM_BUILD 1 32240116Smarcel 33240116Smarcel#include "gmp-impl.h" 34240116Smarcel 35240116Smarcelhgcd2_func_t mpn_hgcd2_default; 36240116Smarcel 37240116Smarcelhgcd2_func_t *hgcd2_func = &mpn_hgcd2_default; 38240116Smarcel 39240116Smarcelint 40240116Smarcelmpn_hgcd2 (mp_limb_t ah, mp_limb_t al, mp_limb_t bh, mp_limb_t bl, 41240116Smarcel struct hgcd_matrix1 *M) 42262855Sjmmv{ 43262855Sjmmv return hgcd2_func(ah, al, bh, bl, M); 44240116Smarcel} 45240116Smarcel 46240116Smarcel#undef mpn_hgcd2 47240116Smarcel#define mpn_hgcd2 mpn_hgcd2_default 48240116Smarcel 49240116Smarcel#include "mpn/generic/hgcd2.c" 50240116Smarcel