Re: [PATCH 09/24] alpha: select ARCH_SUPPORTS_INT128
From: Magnus Lindholm
Date: Wed Sep 02 2026 - 05:15:14 EST
Hi Matt,
On Tue, Sep 1, 2026 at 5:51 PM Matt Turner <mattst88@xxxxxxxxx> wrote:
>
> gcc supports __int128 on Alpha, and the 64x64 to 128-bit multiply that
> the users in the scheduler and in lib/ care about maps onto mulq/umulh
> rather than an out-of-line libgcc helper.
>
> Gate the select on CC_HAS_INT128 as the other 64-bit architectures do.
>
I tested this on an AlphaServer ES40 with
CONFIG_ARCH_SUPPORTS_INT128=y. The kernel built and booted
successfully, and the bits KUnit suite passed, including
genmask_u128_test:
# bits-test: pass:6 fail:0 skip:0 total:6
ok 1 bits-test
Tested-by: Magnus Lindholm <linmag7@xxxxxxxxx>
Reviewed-by: Magnus Lindholm <linmag7@xxxxxxxxx>