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] arc backend patch


Hi Giovanni,

I just discovered a problem with the patch you applied / I sent in lib1funcs.asm . Its just that there is a gap between L and the actual label name. Could you reapply this patch. Further I seem to have made a mistake with the cmp being there. It should have been a sub.f as below in the code.

This also would need to be applied into 3.4/3.3

Ok to commit ?

cheers
Ramana

ChangeLog:


2004-10-21 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>


* config/arc/lib1funcs.asm(___umulsidi3): Fix trivial error with spaces.


Index: lib1funcs.asm =================================================================== RCS file: /cvs/gcc/gcc/gcc/config/arc/lib1funcs.asm,v retrieving revision 1.6 diff -c -3 -p -r1.6 lib1funcs.asm *** lib1funcs.asm 20 Oct 2004 02:21:04 -0000 1.6 --- lib1funcs.asm 21 Oct 2004 12:31:51 -0000 *************** ___umulsidi3: *** 89,100 **** nop beq.nd .Ldone and.f 0,r0,1 ; if (a & 1) ! cmp r0,0 nop beq .Ldontadd add.f r4,r4,r1 ; r += b adc r3,r3,r2 ! L dontadd: lsr r0,r0 ; a >>= 1 lsl.f r1,r1 ; b <<= 1 b.d .Lloop --- 89,100 ---- nop beq.nd .Ldone and.f 0,r0,1 ; if (a & 1) ! sub.f 0,r0,0 nop beq .Ldontadd add.f r4,r4,r1 ; r += b adc r3,r3,r2 ! .Ldontadd: lsr r0,r0 ; a >>= 1 lsl.f r1,r1 ; b <<= 1 b.d .Lloop


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