CONFIG_ARCH_SUPPORTS_INT128 for AArch64

Jason A. Donenfeld Jason at zx2c4.com
Tue Oct 31 03:17:52 PDT 2017


Hi folks,

Older versions of gcc are horrible for int128_t on aarch64, emitting a
__multi3 call, which is slow and defeats the purpose. However, more
recent versions of gcc (since 5, IIRC), do the right thing and produce
the proper inlined instructions.

Do we have the infrastructure available to test for this, and
conditionally set CONFIG_ARCH_SUPPORTS_INT128 if we do?

Thanks,
Jason



More information about the linux-arm-kernel mailing list