Re: [PATCH] add udivhi3, umodhi3 functions to libgcc

2018-10-18 Thread Paul Koning
> On Oct 18, 2018, at 1:18 PM, Jeff Law wrote: > > On 10/17/18 5:48 PM, Paul Koning wrote: >> This is a revision of a patch I proposed a while back, to add udivhi3 and >> umodhi3 functions to libgcc since some platforms (like pdp11) need it. The >> code is adopted from that of udivsi3. >>

Re: [PATCH] add udivhi3, umodhi3 functions to libgcc

2018-10-18 Thread Jeff Law
On 10/17/18 5:48 PM, Paul Koning wrote: > This is a revision of a patch I proposed a while back, to add udivhi3 and > umodhi3 functions to libgcc since some platforms (like pdp11) need it. The > code is adopted from that of udivsi3. > > In earlier discussion it was pointed out that internal

Re: [PATCH] add udivhi3, umodhi3 functions to libgcc

2018-10-17 Thread Paul Koning
This is a revision of a patch I proposed a while back, to add udivhi3 and umodhi3 functions to libgcc since some platforms (like pdp11) need it. The code is adopted from that of udivsi3. In earlier discussion it was pointed out that internal functions need to start with __. The code I had

Re: [PATCH] add udivhi3, umodhi3 functions to libgcc

2018-06-01 Thread Paul Koning
> On Jun 1, 2018, at 5:04 PM, Joseph Myers wrote: > > On Tue, 29 May 2018, Paul Koning wrote: > >> +unsigned short udivmodhi4(unsigned short, unsigned short, int); > > libgcc should not have any such non-static functions in the user > namespace; they should all start with __. That too is

Re: [PATCH] add udivhi3, umodhi3 functions to libgcc

2018-06-01 Thread Joseph Myers
On Tue, 29 May 2018, Paul Koning wrote: > +unsigned short udivmodhi4(unsigned short, unsigned short, int); libgcc should not have any such non-static functions in the user namespace; they should all start with __. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH] add udivhi3, umodhi3 functions to libgcc

2018-05-29 Thread Paul Koning
> On May 29, 2018, at 4:17 PM, Jakub Jelinek wrote: > > On Tue, May 29, 2018 at 03:01:20PM -0400, Paul Koning wrote: >> +short udivmodhi4 (); > > We do want real prototypes, not K declarations. Fixed. I had copied that from the SImode file. > >> Added: svn:eol-style >> ## -0,0 +1 ## >>

Re: [PATCH] add udivhi3, umodhi3 functions to libgcc

2018-05-29 Thread Jakub Jelinek
On Tue, May 29, 2018 at 03:01:20PM -0400, Paul Koning wrote: > +short udivmodhi4 (); We do want real prototypes, not K declarations. > Added: svn:eol-style > ## -0,0 +1 ## > +native Why? Jakub