On Wed, Jul 8, 2020 at 12:36 PM Nick Desaulniers <ndesaulni...@google.com> wrote: > > On Mon, Jun 1, 2020 at 2:00 PM Nick Desaulniers <ndesaulni...@google.com> > wrote: > > > > On Sat, May 30, 2020 at 3:11 PM Brian Gerst <brge...@gmail.com> wrote: > > > > > > The core percpu operations already have a switch on the width of the > > > data type, which resulted in an extra amount of dead code being > > > generated with the x86 operations having another switch. This patch set > > > rewrites the x86 ops to remove the switch. Additional cleanups are to > > > use named assembly operands, and to cast variables to the width used in > > > the assembly to make Clang happy. > > > > Thanks for all of the work that went into this series. I think I've > > reviewed all of them. > > With this series plus this hunk: > > https://github.com/ClangBuiltLinux/continuous-integration/blob/master/patches/llvm-all/linux-next/x86/x86-support-i386-with-Clang.patch#L219-L237 > > I can build and boot i386_defconfig with Clang! So for the series: > > > > Reviewed-by: Nick Desaulniers <ndesaulni...@google.com> > > Tested-by: Nick Desaulniers <ndesaulni...@google.com> > > tglx, Ingo, Boris, Linus, > Do you all have thoughts on this series? I can understand "let > sleeping dogs lie" but some Android folks are really interested in > i386 testing, and randconfigs/allnoconfigs are doing i386 builds which > are currently broken w/ Clang. This series gets us closer to having > test coverage of this ISA with another toolchain, FWIW.
I'm trying to organize an LLVM micro conference at plumbers. I think a session on "clang and remaining i386 blockers" might be of interest, which would cover why the existing code pattern is problematic for compiler portability. This series in particular would be brought up. Are you all planning on attending plumbers this year? Might such a session be of interest? Otherwise, is there any additional feedback on this series or is it good to go? -- Thanks, ~Nick Desaulniers