Re: [PATCH v2] Make iwmmxt.S support Clang's integrated assembler

From: Arnd Bergmann
Date: Thu Nov 12 2020 - 08:06:34 EST


On Thu, Nov 12, 2020 at 9:42 AM Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:

> Although I must admit I am still on the fence when it comes to the
> policy around rewriting perfectly valid code like this to accommodate
> a toolchain that nobody is likely to use to build the code in
> question.
>
> Perhaps we should at least add some rationale to the commit log why
> Clang's integrated assembler is something we should care about?

This is one of the last bits of kernel code that could be compiled but
not assembled with clang. Once all of it works with IAS, we no longer
need to special-case 32-bit Arm in Kbuild, or turn off CONFIG_IWMMXT
when build-testing.

Arnd