Re: [PATCH v2 3/3] rust: Enable for MIPS

2024-09-10 Thread Maciej W. Rozycki
On Tue, 10 Sep 2024, Jiaxun Yang wrote: > >> We have no good way to tell ISA reversion prior to R1 just from Kconfig > >> TARGET_ISA_REV, > >> valid numbers for TARGET_ISA_REV are only 1, 2, 5, 6 from Kconfig. > > > > This approach doesn't work for some MIPS architecture processor configs > > a

Re: [PATCH v2 3/3] rust: Enable for MIPS

2024-09-10 Thread Jiaxun Yang
在2024年9月10日九月 下午5:03,Maciej W. Rozycki写道: > On Mon, 9 Sep 2024, Jiaxun Yang wrote: > >> > What's the consequence of using `mips2' rather than `mips1' here? How >> > about other ISA revisions, e.g. `mips4' (that also applies to the 64BIT >> > leg)? >> >> LLVM's mips1 backend is a little bit

Re: [PATCH v2 3/3] rust: Enable for MIPS

2024-09-10 Thread Maciej W. Rozycki
On Mon, 9 Sep 2024, Jiaxun Yang wrote: > >> diff --git a/scripts/generate_rust_target.rs > >> b/scripts/generate_rust_target.rs > >> index 863720777313..bbdf8a4dd169 100644 > >> --- a/scripts/generate_rust_target.rs > >> +++ b/scripts/generate_rust_target.rs > > [...] > >> +} else { > >>