Re: [PATCH v3 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines

2018-10-02 Thread Zong Li
Palmer Dabbelt 於 2018年10月2日 週二 下午11:02寫道: > > On Tue, 02 Oct 2018 07:50:41 PDT (-0700), Christoph Hellwig wrote: > >> The udivmoddi4 and umoddi3 are copies from libgcc in gcc. There are other > >> functions use the udivmoddi4 in libgcc, so I separate the umoddi3 and > >> udivmoddi4 for flexible ex

Re: [PATCH v3 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines

2018-10-02 Thread Palmer Dabbelt
On Tue, 02 Oct 2018 07:50:41 PDT (-0700), Christoph Hellwig wrote: The udivmoddi4 and umoddi3 are copies from libgcc in gcc. There are other functions use the udivmoddi4 in libgcc, so I separate the umoddi3 and udivmoddi4 for flexible extension in the future. Can you please mention which exact

Re: [PATCH v3 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines

2018-10-02 Thread Christoph Hellwig
> The udivmoddi4 and umoddi3 are copies from libgcc in gcc. There are other > functions use the udivmoddi4 in libgcc, so I separate the umoddi3 and > udivmoddi4 for flexible extension in the future. Can you please mention which exact version of an external projected you imported things from? That

[PATCH v3 3/5] lib: Add umoddi3 and udivmoddi4 of GCC library routines

2018-10-02 Thread Zong Li
Add umoddi3 and udivmoddi4 support for 32-bit. The RV32 need the umoddi3 to do modulo when the operands are long long type, like other libraries implementation such as ucmpdi2, lshrdi3 and so on. I encounter the undefined reference 'umoddi3' when I use the in house dma driver, although it is in h