1
/* Alpha sub_n -- Subtract two limb vectors of the same length > 0 and
2
* store difference in a third limb vector.
3
* Copyright (C) 1995, 1998,
4
* 2001, 2002 Free Software Foundation, Inc.
6
* This file is part of Libgcrypt.
8
* Libgcrypt is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU Lesser General Public License as
10
* published by the Free Software Foundation; either version 2.1 of
11
* the License, or (at your option) any later version.
13
* Libgcrypt is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU Lesser General Public License for more details.
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this program; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
26
* _gcry_mpih_sub_n( mpi_ptr_t res_ptr, (r16)
27
* mpi_ptr_t s1_ptr, (r17)
28
* mpi_ptr_t s2_ptr, (r18)
29
* mpi_size_t size) (r19)
36
.globl _gcry_mpih_sub_n
45
and $19,4-1,$2 # number of limbs in first loop
47
beq $2,.L0 # if multiple of 4 limbs, skip first loop
122
.end _gcry_mpih_sub_n