From: Max Filippov <jcmvbkbc@gmail.com>
To: linux-xtensa@linux-xtensa.org
Cc: Chris Zankel <chris@zankel.net>,
linux-kernel@vger.kernel.org, Max Filippov <jcmvbkbc@gmail.com>
Subject: [PATCH 0/2] xtensa: don't link with libgcc
Date: Wed, 9 Mar 2022 14:34:16 -0800 [thread overview]
Message-ID: <20220309223418.1253242-1-jcmvbkbc@gmail.com> (raw)
Hello,
this series removes xtensa kernel dependency on the libgcc by providing
assembly sources for optimized compiler support functions and using
generic implementations for the rest.
Max Filippov (2):
xtensa: add helpers for division, remainder and shifts
xtensa: don't link with libgcc
arch/xtensa/Kconfig | 3 +
arch/xtensa/Makefile | 6 +-
arch/xtensa/include/asm/asmmacro.h | 34 ++++++++
arch/xtensa/kernel/xtensa_ksyms.c | 14 ---
arch/xtensa/lib/Makefile | 2 +
arch/xtensa/lib/ashldi3.S | 28 ++++++
arch/xtensa/lib/ashrdi3.S | 28 ++++++
arch/xtensa/lib/divsi3.S | 74 ++++++++++++++++
arch/xtensa/lib/lshrdi3.S | 28 ++++++
arch/xtensa/lib/modsi3.S | 87 +++++++++++++++++++
arch/xtensa/lib/mulsi3.S | 133 +++++++++++++++++++++++++++++
arch/xtensa/lib/udivsi3.S | 68 +++++++++++++++
arch/xtensa/lib/umodsi3.S | 57 +++++++++++++
13 files changed, 543 insertions(+), 19 deletions(-)
create mode 100644 arch/xtensa/lib/ashldi3.S
create mode 100644 arch/xtensa/lib/ashrdi3.S
create mode 100644 arch/xtensa/lib/divsi3.S
create mode 100644 arch/xtensa/lib/lshrdi3.S
create mode 100644 arch/xtensa/lib/modsi3.S
create mode 100644 arch/xtensa/lib/mulsi3.S
create mode 100644 arch/xtensa/lib/udivsi3.S
create mode 100644 arch/xtensa/lib/umodsi3.S
--
2.30.2
next reply other threads:[~2022-03-09 22:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-09 22:34 Max Filippov [this message]
2022-03-09 22:34 ` [PATCH 1/2] xtensa: add helpers for division, remainder and shifts Max Filippov
2022-03-09 22:34 ` [PATCH 2/2] xtensa: don't link with libgcc Max Filippov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220309223418.1253242-1-jcmvbkbc@gmail.com \
--to=jcmvbkbc@gmail.com \
--cc=chris@zankel.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xtensa@linux-xtensa.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox