[Pkg-rust-maintainers] Bug#973414: rustc: produces non-baseline opcodes for compiler_builtins::int::udiv::__udivmoddi4 on i386

James Addison jay at jp-hosting.net
Fri Mar 24 16:48:44 GMT 2023


Package: rustc
Followup-For: Bug #973414

> On Fri, 24 Mar 2023 14:23:18 +0000, James wrote:
> > In particular, one area to look at:
> >
> >   https://github.com/llvm/llvm-project/blob/llvmorg-14.0.6/clang/lib/Driver/ToolChains/Arch/X86.cpp#L25-L70
>
> Line range correction:
>
>   https://github.com/llvm/llvm-project/blob/llvmorg-14.0.6/clang/lib/Driver/ToolChains/Arch/X86.cpp#L25-L115

Hmm.. we already patch the default CPU fallback (and have done since LLVM 7):

https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/blob/14/debian/patches/clang-baseline-fix-i386.patch



More information about the Pkg-rust-maintainers mailing list