diff options
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/h8300/lib1funcs.asm | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 646a7be..e1eccb1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2003-11-13 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/lib1funcs.asm: Fix comment typos. + +2003-11-13 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/lib1funcs.asm (udivsi3): Don't save/restore unused registers. Don't jump to exitdiv. (umodsi3): Likewise. diff --git a/gcc/config/h8300/lib1funcs.asm b/gcc/config/h8300/lib1funcs.asm index 5b16ce3..dd43592 100644 --- a/gcc/config/h8300/lib1funcs.asm +++ b/gcc/config/h8300/lib1funcs.asm @@ -522,7 +522,7 @@ reti: ; A2/A3 denominator (A1P for H8/300H) ; returns A0/A1 quotient (A0P for H8/300H) ; S0/S1 remainder (S0P for H8/300H) - ; trashes S2 + ; trashes S2H #ifdef __H8300__ @@ -651,7 +651,7 @@ divmod_L24: ;; er1 contains divisor ;; er2 contains shifted divisor ;; er4 contains dividend, later remainder - divxu.w r2,er0 ; e0 now contains the approximate quotient (AQ) + divxu.w r2,er0 ; r0 now contains the approximate quotient (AQ) extu.l er0 beq divmod_L25 subs #1,er0 ; er0 = AQ - 1 |
