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

2018-09-26 Thread Zong Li
Andreas Schwab 於 2018年9月25日 週二 下午3:20寫道: > > On Sep 25 2018, Zong Li wrote: > > > 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

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

2018-09-26 Thread Zong Li
Andreas Schwab 於 2018年9月25日 週二 下午3:20寫道: > > On Sep 25 2018, Zong Li wrote: > > > 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

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

2018-09-25 Thread Zong Li
Christoph Hellwig 於 2018年9月25日 週二 下午11:25寫道: > > On Tue, Sep 25, 2018 at 10:19:55AM +0800, Zong Li wrote: > > 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

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

2018-09-25 Thread Zong Li
Christoph Hellwig 於 2018年9月25日 週二 下午11:25寫道: > > On Tue, Sep 25, 2018 at 10:19:55AM +0800, Zong Li wrote: > > 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

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

2018-09-25 Thread Christoph Hellwig
On Tue, Sep 25, 2018 at 10:19:55AM +0800, Zong Li wrote: > 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,

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

2018-09-25 Thread Christoph Hellwig
On Tue, Sep 25, 2018 at 10:19:55AM +0800, Zong Li wrote: > 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,

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

2018-09-25 Thread Andreas Schwab
On Sep 25 2018, Zong Li wrote: > 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 house

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

2018-09-25 Thread Andreas Schwab
On Sep 25 2018, Zong Li wrote: > 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 house

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

2018-09-24 Thread Zong Li
Christoph Hellwig 於 2018年9月21日 週五 下午3:00寫道: > > On Tue, Sep 18, 2018 at 05:19:15PM +0800, Zong Li wrote: > > Add umoddi3 and udivmoddi4 support for 32-bit. > > This probably wants a better explanation of why you need them. > > > index 000..69f2d36 > > --- /dev/null > > +++ b/lib/udivmoddi4.c

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

2018-09-24 Thread Zong Li
Christoph Hellwig 於 2018年9月21日 週五 下午3:00寫道: > > On Tue, Sep 18, 2018 at 05:19:15PM +0800, Zong Li wrote: > > Add umoddi3 and udivmoddi4 support for 32-bit. > > This probably wants a better explanation of why you need them. > > > index 000..69f2d36 > > --- /dev/null > > +++ b/lib/udivmoddi4.c

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

2018-09-21 Thread Christoph Hellwig
On Tue, Sep 18, 2018 at 05:19:15PM +0800, Zong Li wrote: > Add umoddi3 and udivmoddi4 support for 32-bit. This probably wants a better explanation of why you need them. > index 000..69f2d36 > --- /dev/null > +++ b/lib/udivmoddi4.c > @@ -0,0 +1,291 @@ > +// SPDX-License-Identifier: GPL-2.0

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

2018-09-21 Thread Christoph Hellwig
On Tue, Sep 18, 2018 at 05:19:15PM +0800, Zong Li wrote: > Add umoddi3 and udivmoddi4 support for 32-bit. This probably wants a better explanation of why you need them. > index 000..69f2d36 > --- /dev/null > +++ b/lib/udivmoddi4.c > @@ -0,0 +1,291 @@ > +// SPDX-License-Identifier: GPL-2.0

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

2018-09-18 Thread Zong Li
Add umoddi3 and udivmoddi4 support for 32-bit. Signed-off-by: Zong Li --- lib/Kconfig | 3 + lib/Makefile | 1 + lib/udivmoddi4.c | 291 +++ lib/umoddi3.c| 16 +++ 4 files changed, 311 insertions(+) create mode 100644

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

2018-09-18 Thread Zong Li
Add umoddi3 and udivmoddi4 support for 32-bit. Signed-off-by: Zong Li --- lib/Kconfig | 3 + lib/Makefile | 1 + lib/udivmoddi4.c | 291 +++ lib/umoddi3.c| 16 +++ 4 files changed, 311 insertions(+) create mode 100644