This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] h8300/lib1funcs.asm: Add a comment.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: pisa at cmp dot felk dot cvut dot cz
- Date: Fri, 14 Nov 2003 07:49:44 -0500 (EST)
- Subject: [patch] h8300/lib1funcs.asm: Add a comment.
Hi,
Attached is a patch to add a comment.
The name ___udivsi3 is a bit misleading as the function also computes
the remainder, so document that fact.
Committed as obvious.
Kazu Hirata
2003-11-14 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/lib1funcs.asm (___udivsi3): Add a comment.
Index: lib1funcs.asm
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/lib1funcs.asm,v
retrieving revision 1.27
diff -u -r1.27 lib1funcs.asm
--- lib1funcs.asm 14 Nov 2003 12:39:27 -0000 1.27
+++ lib1funcs.asm 14 Nov 2003 12:44:52 -0000
@@ -602,6 +602,7 @@
#else /* __H8300H__ */
+ ;; This function also computes the remainder and stores it in er3.
.global ___udivsi3
___udivsi3:
mov.w A1E,A1E ; denominator top word 0?