> 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.
>>
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 fun
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 cop
> 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 a
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
> 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&R declarations.
Fixed. I had copied that from the SImode file.
>
>> Added: svn:eol-style
>> ## -0,0 +1 ##
>> +
On Tue, May 29, 2018 at 03:01:20PM -0400, Paul Koning wrote:
> +short udivmodhi4 ();
We do want real prototypes, not K&R declarations.
> Added: svn:eol-style
> ## -0,0 +1 ##
> +native
Why?
Jakub
This patch adds two files which implement HImode unsigned divide
and mod for GCC on platforms where that is needed and not provided
in hardware. The code is lifted from the corresponding SImode
functions, with the obvious tweaks.
I'm not sure if I can commit this.
paul
2018-05-29 Paul