Re: [PATCH v2 1/3] riscv: implement __ashldi3, __lshrdi3

2022-10-04 Thread Andreas Schwab
On Okt 01 2022, Heinrich Schuchardt wrote: > On 32bit RISC-V calls to __ashrdi3 and __lshrdi3 are generated. > These functions are normally provided by glibc but U-Boot is freestanding They are defined by libgcc, not glibc. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint =

[PATCH v2 1/3] riscv: implement __ashldi3, __lshrdi3

2022-10-01 Thread Heinrich Schuchardt
On 32bit RISC-V calls to __ashrdi3 and __lshrdi3 are generated. These functions are normally provided by glibc but U-Boot is freestanding and needs its own implementation. Signed-off-by: Heinrich Schuchardt --- v2: new patch --- arch/riscv/lib/Makefile | 1 + arch/riscv/lib/bitops.S |