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: Fix a misleading label name.


Hi,

Attached is a patch to fix a misleading label name.

Label "DenHighZero" appears as a part of division code in
h8300/lib1funcs.asm.  The control gets to the label if the upper half
of the denominator is nonzero.  The label should really say
"DenHighNonZero".

Committed as obvious.

Kazu Hirata

2003-11-11  Kazu Hirata  <kazu@cs.umass.edu>

	* config/h8300/lib1funcs.asm: Replace DenHighZero with
	DenHighNonZero.

Index: lib1funcs.asm
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/lib1funcs.asm,v
retrieving revision 1.17
diff -u -r1.17 lib1funcs.asm
--- lib1funcs.asm	30 May 2003 19:26:14 -0000	1.17
+++ lib1funcs.asm	11 Nov 2003 18:30:02 -0000
@@ -519,7 +519,7 @@
         mov.b	A2H,S2H
         or	A2L,S2H
         or	A3H,S2H
-        bne	DenHighZero
+        bne	DenHighNonZero
         mov.b	A0H,A0H
         bne	NumByte0Zero
         mov.b	A0L,A0L
@@ -549,7 +549,7 @@
         rts
 
 ; have to do the divide by shift and test
-DenHighZero:
+DenHighNonZero:
 	mov.b	A0H,S1L
         mov.b	A0L,A0H
         mov.b	A1H,A0L
@@ -591,7 +591,7 @@
 divmodsi4:
 	sub.l	S0P,S0P		; zero play area
 	mov.w	A1E,A1E		; denominator top word 0?
-	bne	DenHighZero
+	bne	DenHighNonZero
 
 	; do it the easy way, see page 107 in manual
 	mov.w	A0E,A2
@@ -604,7 +604,7 @@
 	extu.l	S0P
 	rts
 
-DenHighZero:
+DenHighNonZero:
 	mov.w	A0E,A2
 	mov.b	A2H,S0L
 	mov.b	A2L,A2H


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