1 ; mc88110 __mpn_mul_1 -- Multiply a limb vector with a single limb and
2 ; store the product in a second limb vector.
4 ; Copyright (C) 1992, 1994 Free Software Foundation, Inc.
6 ; This file is part of the GNU MP Library.
8 ; The GNU MP Library 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, or (at your option)
13 ; The GNU MP Library 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 the GNU MP Library; see the file COPYING. If not, write to
20 ; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
34 sub r3,r3,r4 ; r3 is offset s1_ptr
36 sub r8,r2,8 ; r8 is offset res_ptr
41 addu.co r2,r0,0 ; clear cy_limb
45 or r2,r10,r0 ; could be avoided if unrolled
51 Lend: addu.cio r9,r11,r2
56 ; This is the Right Way to do this on '110. 4 cycles / 64-bit limb.