~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/gmp/mpn/alpha/submul_1.asm

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2007-04-09 11:51:51 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070409115151-ql8cr0kalzx1jmla
Tags: 0.9i-20070324-2
Upload to unstable. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl  Alpha __gmpn_submul_1 -- Multiply a limb vector with a limb and subtract
 
1
dnl  Alpha mpn_submul_1 -- Multiply a limb vector with a limb and subtract
2
2
dnl  the result from a second limb vector.
3
3
 
4
 
dnl  Copyright 1992, 1994, 1995, 2000 Free Software Foundation, Inc.
 
4
dnl  Copyright 1992, 1994, 1995, 2000, 2002 Free Software Foundation, Inc.
5
5
 
6
6
dnl  This file is part of the GNU MP Library.
7
7
 
16
16
dnl  License for more details.
17
17
 
18
18
dnl  You should have received a copy of the GNU Lesser General Public License
19
 
dnl  along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
20
 
dnl  the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
21
 
dnl  MA 02111-1307, USA.
 
19
dnl  along with the GNU MP Library; see the file COPYING.LIB.  If not, write
 
20
dnl  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
21
dnl  Boston, MA 02110-1301, USA.
22
22
 
23
23
include(`../config.m4')
24
24
 
25
 
dnl  INPUT PARAMETERS
26
 
dnl  res_ptr    r16
27
 
dnl  s1_ptr     r17
28
 
dnl  size       r18
29
 
dnl  s2_limb    r19
30
 
 
31
 
dnl  This code runs at 42 cycles/limb on EV4, 18 cycles/limb on EV5, and 7
32
 
dnl  cycles/limb on EV6.
 
25
C      cycles/limb
 
26
C EV4:     42
 
27
C EV5:     18
 
28
C EV6:      7
 
29
 
 
30
C  INPUT PARAMETERS
 
31
C  rp   r16
 
32
C  up   r17
 
33
C  n    r18
 
34
C  limb r19
 
35
 
33
36
 
34
37
ASM_START()
35
38
PROLOGUE(mpn_submul_1)