public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] add riscv32 double-word shifts and library test
@ 2026-04-07  5:28 Dmitry Antipov
  2026-04-07  5:28 ` [PATCH 1/2] riscv: add platform-specific double word shifts for riscv32 Dmitry Antipov
  2026-04-07  5:28 ` [PATCH 2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3() Dmitry Antipov
  0 siblings, 2 replies; 11+ messages in thread
From: Dmitry Antipov @ 2026-04-07  5:28 UTC (permalink / raw)
  To: Andrew Morton, Andy Shevchenko
  Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, Ard Biesheuvel,
	linux-riscv, Dmitry Antipov

This series should immediately follow v8 of lib and lib/cmdline enhancements,
see https://patchew.org/linux/20260212164413.889625-1-dmantipov@yandex.ru.
Started from riscv32 build quirk, now it aims to provide platform-specific
double-word shifts and corresponding KUnit test (known to work on ARM too).

Dmitry Antipov (2):
  riscv: add platform-specific double word shifts for riscv32
  lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()

 arch/riscv/Kconfig             |   3 -
 arch/riscv/kernel/image-vars.h |   7 ++
 arch/riscv/lib/Makefile        |   1 +
 arch/riscv/lib/ashldi3.S       |  36 +++++++
 arch/riscv/lib/ashrdi3.S       |  37 +++++++
 arch/riscv/lib/lshrdi3.S       |  36 +++++++
 lib/Kconfig.debug              |  10 ++
 lib/tests/Makefile             |   1 +
 lib/tests/shdi3_kunit.c        | 174 +++++++++++++++++++++++++++++++++
 9 files changed, 302 insertions(+), 3 deletions(-)
 create mode 100644 arch/riscv/lib/ashldi3.S
 create mode 100644 arch/riscv/lib/ashrdi3.S
 create mode 100644 arch/riscv/lib/lshrdi3.S
 create mode 100644 lib/tests/shdi3_kunit.c

-- 
2.53.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-04-10 19:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07  5:28 [PATCH 0/2] add riscv32 double-word shifts and library test Dmitry Antipov
2026-04-07  5:28 ` [PATCH 1/2] riscv: add platform-specific double word shifts for riscv32 Dmitry Antipov
2026-04-07  5:28 ` [PATCH 2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3() Dmitry Antipov
2026-04-08 19:41   ` Andy Shevchenko
2026-04-09  3:38     ` [PATCH v2 0/2] add riscv32 double-word shifts and library test Dmitry Antipov
2026-04-09  3:38       ` [PATCH v2 1/2] riscv: add platform-specific double word shifts for riscv32 Dmitry Antipov
2026-04-09 23:22         ` Charlie Jenkins
2026-04-10 10:49           ` Dmitry Antipov
2026-04-10 19:30             ` Charlie Jenkins
2026-04-09  3:38       ` [PATCH v2 2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3() Dmitry Antipov
2026-04-09 21:02         ` Charlie Jenkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox