This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]