[PATCH v4 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

[PATCH v4 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