1dnl  MIPS32 umul_ppmm -- longlong.h support.
2
3dnl  Copyright 1999, 2002 Free Software Foundation, Inc.
4
5dnl  This file is part of the GNU MP Library.
6
7dnl  The GNU MP Library is free software; you can redistribute it and/or modify
8dnl  it under the terms of the GNU Lesser General Public License as published
9dnl  by the Free Software Foundation; either version 3 of the License, or (at
10dnl  your option) any later version.
11
12dnl  The GNU MP Library is distributed in the hope that it will be useful, but
13dnl  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15dnl  License for more details.
16
17dnl  You should have received a copy of the GNU Lesser General Public License
18dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
19
20include(`../config.m4')
21
22C INPUT PARAMETERS
23C plp   $4
24C u     $5
25C v     $6
26
27ASM_START()
28PROLOGUE(mpn_umul_ppmm)
29	multu	$5,$6
30	mflo	$3
31	mfhi	$2
32	j	$31
33	sw	$3,0($4)
34EPILOGUE(mpn_umul_ppmm)
35