remI.S

32 and 64-bit millicode, original author Hewlett-Packard adapted for gcc by Paul Bame ba.nosp@m.me@debia.nosp@m.n.org and Alan Modra al.nosp@m.an@linuxcar.nosp@m.e.com.au.

Copyright 2001, 2002, 2003 Free Software Foundation, Inc.

This file is part of GCC and is released under the terms of of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.  See the file COPYING in the top-level GCC source directory for a copy of the license.

Summary
remI.S32 and 64-bit millicode, original author Hewlett-Packard adapted for gcc by Paul Bame ba.nosp@m.me@debia.nosp@m.n.org and Alan Modra al.nosp@m.an@linuxcar.nosp@m.e.com.au.
Functions
$$remI.

Functions

$$remI

DESCRIPTION

.  $$remI returns the remainder of the division of two signed 32-bit . integers.  The sign of the remainder is the same as the sign of . the dividend.

INPUT REGISTERS

.  arg0 == dividend . arg1 == divisor . mrp == return pc . sr0 == return space when called externally

OUTPUT REGISTERS

.  arg0 = destroyed . arg1 = destroyed . ret1 = remainder

OTHER REGISTERS AFFECTED

.  r1 = undefined

SIDE EFFECTS

.  Causes a trap under the following conditions: DIVIDE BY ZERO . Changes memory at the following places: NONE

PERMISSIBLE CONTEXT

.  Unwindable . Does not create a stack frame . Is usable for internal or external microcode

DISCUSSION

.  Calls other millicode routines via mrp: NONE . Calls other millicode routines: NONE