beta-0.89.2
[luatex.git] / source / libs / gmp / gmp-src / mpn / x86_64 / core2 / sublsh1_n.asm
blob46488fcafeb671e00dc72f3dfbf46859f5e0d758
1 dnl AMD64 mpn_sublsh1_n optimised for Core 2 and Core iN.
3 dnl Contributed to the GNU project by Torbjorn Granlund.
5 dnl Copyright 2008, 2010-2012 Free Software Foundation, Inc.
7 dnl This file is part of the GNU MP Library.
8 dnl
9 dnl The GNU MP Library is free software; you can redistribute it and/or modify
10 dnl it under the terms of either:
11 dnl
12 dnl * the GNU Lesser General Public License as published by the Free
13 dnl Software Foundation; either version 3 of the License, or (at your
14 dnl option) any later version.
15 dnl
16 dnl or
17 dnl
18 dnl * the GNU General Public License as published by the Free Software
19 dnl Foundation; either version 2 of the License, or (at your option) any
20 dnl later version.
21 dnl
22 dnl or both in parallel, as here.
23 dnl
24 dnl The GNU MP Library is distributed in the hope that it will be useful, but
25 dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
26 dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
27 dnl for more details.
28 dnl
29 dnl You should have received copies of the GNU General Public License and the
30 dnl GNU Lesser General Public License along with the GNU MP Library. If not,
31 dnl see https://www.gnu.org/licenses/.
33 include(`../config.m4')
35 define(LSH, 1)
36 define(RSH, 63)
38 define(ADDSUB, sub)
39 define(ADCSBB, sbb)
40 define(func, mpn_sublsh1_n)
42 MULFUNC_PROLOGUE(mpn_sublsh1_n)
44 ABI_SUPPORT(DOS64)
45 ABI_SUPPORT(STD64)
47 include_mpn(`x86_64/core2/sublshC_n.asm')