3
* Copyright (C) 1995, 1998, 2000
4
* 2001 Free Software Foundation, Inc.
6
* This file is part of GnuPG.
8
* GnuPG is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
13
* GnuPG 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 General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
25
* mpihelp_rshift( mpi_ptr_t wp, ($4)
27
* mpi_size_t usize, ($6)
39
ld $10,0($5) # load first limb
42
and $9,$6,4-1 # number of limbs in first loop
43
beq $9,$0,.L0 # if multiple of 4 limbs, skip first loop
44
dsll $2,$10,$13 # compute function result