/*
 *  linux/kernel/math.s
 *
 *  Copyright (C) 1993        Hamish Macdonald
 *
 * This file is subject to the terms and conditions of the GNU General Public
 * License.  See the file README.legal in the main directory of this archive
 * for more details.
 */

.globl ___umodsi3, ___modsi3, ___udivsi3, ___divsi3, ___mulsi3

.text
.even
___umodsi3:
	movel sp@(4),d0
	divull sp@(8),d1,d0
	movel d1,d0
	rts

___modsi3:
	movel sp@(4),d0
	divsll sp@(8),d1,d0
	movel d1,d0
	rts

___udivsi3:
	movel sp@(4),d0
	divull sp@(8),d0,d0
	rts

___divsi3:
	movel sp@(4),d0
	divsll sp@(8),d0,d0
	rts

___mulsi3:
	movel sp@(4),d0
	mulsl  sp@(8),d0
	rts
