diff options
Diffstat (limited to 'sysdeps/sparc/sparc32/sparcv8/udiv.S')
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv8/udiv.S | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc32/sparcv8/udiv.S b/sysdeps/sparc/sparc32/sparcv8/udiv.S new file mode 100644 index 0000000000..4e3cddc63f --- /dev/null +++ b/sysdeps/sparc/sparc32/sparcv8/udiv.S @@ -0,0 +1,13 @@ +/* + * Sparc v8 has divide. + */ + +#include <sysdep.h> + +ENTRY(.udiv) + + wr %g0, 0, %y + retl + udiv %o0, %o1, %o0 + +END(.udiv) |