1 dnl PowerPC
-32 mpn_mul_1
-- Multiply a limb vector with a limb
and store the
2 dnl result
in a second limb vector.
4 dnl Copyright
1995, 1997, 2000, 2002, 2003, 2005 Free Software Foundation
,
7 dnl
This file is part of the GNU MP Library.
9 dnl The GNU MP Library is free software
; you can redistribute it and/or modify
10 dnl it under the terms of
either:
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.
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
22 dnl
or both
in parallel
, as here.
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
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
')
39 C 7400,7410 (G4): 4.5-11
40 C 744x,745x (G4+): 6.0
53 addi r3,r3,-4 C adjust res_ptr, it's
offset before it
's used
54 li r12,0 C clear upper product reg
55 addic r0,r0,0 C clear cy
56 C Start software pipeline
63 C Software pipelined main loop
77 C Finish software pipeline