date and time created 92/06/25 09:11:47 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 26 Jun 1992 00:11:47 +0000 (16:11 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 26 Jun 1992 00:11:47 +0000 (16:11 -0800)
SCCS-vsn: lib/libc/vax/gen/modsi3.s 5.1
SCCS-vsn: lib/libc/vax/gen/umulsi3.s 5.1

usr/src/lib/libc/vax/gen/modsi3.s [new file with mode: 0644]
usr/src/lib/libc/vax/gen/umulsi3.s [new file with mode: 0644]

diff --git a/usr/src/lib/libc/vax/gen/modsi3.s b/usr/src/lib/libc/vax/gen/modsi3.s
new file mode 100644 (file)
index 0000000..21b6b48
--- /dev/null
@@ -0,0 +1,18 @@
+/*-
+ * Copyright (c) 1992 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ */
+
+#if defined(LIBC_SCCS) && !defined(lint)
+       .asciz "@(#)modsi3.s    5.1 (Berkeley) %G%"
+#endif /* LIBC_SCCS and not lint */
+
+#include "DEFS.h"
+
+ENTRY(__modsi3, 0)
+       divl3   8(ap),4(ap),r0
+       mull2   8(ap),r0
+       subl3   r0,4(ap),r0
+       ret
diff --git a/usr/src/lib/libc/vax/gen/umulsi3.s b/usr/src/lib/libc/vax/gen/umulsi3.s
new file mode 100644 (file)
index 0000000..49d5eb4
--- /dev/null
@@ -0,0 +1,16 @@
+/*-
+ * Copyright (c) 1992 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ */
+
+#if defined(LIBC_SCCS) && !defined(lint)
+       .asciz "@(#)umulsi3.s   5.1 (Berkeley) %G%"
+#endif /* LIBC_SCCS and not lint */
+
+#include "DEFS.h"
+
+ENTRY(__umulsi3, 0)
+       mull3   8(ap),4(ap),r0
+       ret