Thanks! Got it. I'd like to have a try ;-) Indeed, the JIT backend is too big to be a personal project. The first milestone for RISC-V porting might be to run a single line helloworld.js on QEMU/RV64GC which simply prints a 'hello world'.
On Fri, Jul 17, 2020 at 2:21 PM Jan de Mooij <jdemo...@mozilla.com> wrote: > Hey, > > It's good to hear from you again! We don't have plans for adding a > JIT/Wasm backend for RISC-V at this point. Most of SpiderMonkey (except > Wasm support) should work without it, it's just slower without JITs. Making > sure a --disable-jit build of Firefox works on RISC-V would be a good first > step. > > We could _potentially_ have a community-maintained JIT/Wasm backend for > RISC-V, like our MIPS code, but this would also depend on the impact to > other parts of the code base and whether the community is willing to > actively maintain it going forward. > > Adding a JIT backend is a big project. We'd be happy to answer questions > and give feedback though. You can also find us in the #spidermonkey room on > Matrix [0]. > > Thanks, > Jan > > [0] https://chat.mozilla.org/#/room/#spidermonkey:mozilla.org > > On Fri, Jul 17, 2020 at 7:28 AM Wei Wu (吴伟) <lazypar...@gmail.com> wrote: > >> Hi, >> >> I've noticed the spidermonkey might be ready to be built on Linux/RISC-V >> [1]. I searched the bugzilla and wiki for more information and couldn't >> find it. Is there a plan or roadmap for Firefox/Spidermonkey porting to >> RV64G/Linux platform? I'd like to contribute to this work, making Firefox >> run on RISC-V machines like Hifive Unleashed. Since Firefox is a very >> complex system, I think porting spidermonkey is a good starting point for >> me [2]. Would you mind give me some hints? >> >> Thanks. >> >> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1318905 >> [2] I've tried to implement a few features for spidermonkey during GSoC >> 2013, but failed to merge into the main branch due to the performance >> issues. I have some experience on JS Engines and compilers. >> >> -- >> Best wishes, >> Wei Wu (吴伟) >> _______________________________________________ >> dev-tech-js-engine-internals mailing list >> dev-tech-js-engine-internals@lists.mozilla.org >> https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals >> > -- Best wishes, Wei Wu (吴伟) _______________________________________________ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals