On Wed, Apr 19, 2023 at 9:50 AM Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> wrote: > > > > > 2023年4月18日 21:07,Nick Desaulniers <ndesaulniers@xxxxxxxxxx> 写道: > > > > On Fri, Apr 14, 2023 at 1:07 AM Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> wrote: > >> > >> LLVM does not implement some of -march options. However those options > >> are not mandatory for kernel to build for those CPUs. > >> > >> Fallback -march CFLAG to ISA level if unsupported by toolchain so > >> we can get those kernel to build with LLVM. > >> > >> Link: https://github.com/ClangBuiltLinux/linux/issues/1544 > >> Reported-by: Nathan Chancellor <nathan@xxxxxxxxxx> > >> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx> > > > > Thanks for the patch! Maybe it's more obvious to folks who work on > > mips, but how did you determine that say `p5600` is `mips32r5` or > > `r10000` is `mips4`? > > Wikipedia [1] should fit the purpose. > > [1]: https://en.wikipedia.org/wiki/List_of_MIPS_architecture_processors Mostly! Though I was not able to verify: - p5600 - r5500 - rm5200 - sb1 - loongson* The rest LGTM, but maybe these families are better understood by Thomas? -- Thanks, ~Nick Desaulniers