xtensa: add helpers for division, remainder and shifts
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 18 Oct 2021 11:29:27 +0000 (04:29 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 9 Mar 2022 22:02:40 +0000 (14:02 -0800)
commitdbf4ed894c0fd85d421f7b3b9758ce95398d2925
treebe741f6adb095349d4128f0b792a5b5637ab53b5
parent8c9ab55c0fbdc76cb876140c2dad75a610bb23ef
xtensa: add helpers for division, remainder and shifts

Don't rely on libgcc presence, build own versions of the helpers with
correct ABI.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/asm/asmmacro.h
arch/xtensa/lib/Makefile
arch/xtensa/lib/ashldi3.S [new file with mode: 0644]
arch/xtensa/lib/ashrdi3.S [new file with mode: 0644]
arch/xtensa/lib/divsi3.S [new file with mode: 0644]
arch/xtensa/lib/lshrdi3.S [new file with mode: 0644]
arch/xtensa/lib/modsi3.S [new file with mode: 0644]
arch/xtensa/lib/mulsi3.S [new file with mode: 0644]
arch/xtensa/lib/udivsi3.S [new file with mode: 0644]
arch/xtensa/lib/umodsi3.S [new file with mode: 0644]