<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/lib/tests/shdi3_kunit.c, branch stable</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/lib/tests/shdi3_kunit.c?h=stable</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/lib/tests/shdi3_kunit.c?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2026-05-29T04:24:51Z</updated>
<entry>
<title>lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()</title>
<updated>2026-05-29T04:24:51Z</updated>
<author>
<name>Dmitry Antipov</name>
<email>dmantipov@yandex.ru</email>
</author>
<published>2026-05-19T17:22:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=6bba2ae43e8f379d3bed4c3eb258ea6d81baae80'/>
<id>urn:sha1:6bba2ae43e8f379d3bed4c3eb258ea6d81baae80</id>
<content type='text'>
Add KUnit tests for '__ashldi3()', '__ashrdi3()', and '__lshrdi3()' helper
functions used to implement 64-bit arithmetic shift left, arithmetic shift
right and logical shift right, respectively, on a 32-bit CPUs.

Tested with 'qemu-system-riscv32 -M virt' and 'qemu-system-arm -M virt'.

Link: https://lore.kernel.org/20260519172259.908980-8-dmantipov@yandex.ru
Signed-off-by: Dmitry Antipov &lt;dmantipov@yandex.ru&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Tested-by: Charlie Jenkins &lt;thecharlesjenkins@gmail.com&gt;
Assisted-by: Gemini:gemini-3.1-pro-preview sashiko
Cc: Albert Ou &lt;aou@eecs.berkeley.edu&gt;
Cc: Alexandre Ghiti &lt;alex@ghiti.fr&gt;
Cc: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</content>
</entry>
</feed>
