The RISC-V International and PLCT Lab has opened a mentorship[1] for spidermonkey porting, and now we have two interns working on porting spidermonkey to RV64GC. the status report would be here:
The weekly sync meeting can be found here:
Wei Wu - PLCT Lab is inviting you to a scheduled Zoom meeting.
Topic: Weekly Sync for Spidermonkey RISC-V Porting
Time: Sep 6, 2021 03:30 PM Singapore
Every week on Mon, 12 occurrence(s)
Sep 6, 2021 03:30 PM
Sep 13, 2021 03:30 PM
Sep 20, 2021 03:30 PM
Sep 27, 2021 03:30 PM
Oct 4, 2021 03:30 PM
Oct 11, 2021 03:30 PM
Oct 18, 2021 03:30 PM
Oct 25, 2021 03:30 PM
Nov 1, 2021 03:30 PM
Nov 8, 2021 03:30 PM
Nov 15, 2021 03:30 PM
Nov 22, 2021 03:30 PM
Please download and import the following iCalendar (.ics) files to your calendar system.
Weekly:
go through the codebase of Spidermonkey. Write documents describing the internals. Blog your doc. Submit the internal doc as patchset to mozilla codebase.
search the codebase and try to duplicate the arm64 or mips64 backend of spidermonkey. Copy it to riscv64 folder/file/functions without real modifications. Try your best to pass the build and regression testing.
Before you start a new task/sub-task, always google/search first.
My Mid Term Evaluation Report noting the progress and challenges faced so far. It includes a Progress tracker that details the 6 weeks + 2 Pre Selection weeks we have worked on the project. Please do read it, and provide feedback. If anyone has any ideas on resolving the challenges I have mentioned in the report, it will be really appreciated.
Looking forward to porting the Compilers by the end of the year.
I am Dhairya Shah , working on this project - Porting Spidermonkey to RISC-V , this is my Mid Term Report for the duration so far (6 weeks + 2 pre-selection weeks). It lists the progress, issues faced with fixes, logs, work to be done, errors facing currently, findings, and conclusions. Please suggest any improvements/feedback on the same. Any resolve on the challenges faced currently would be helpful.
We can build riscv64-simulator by config
# Build only the JS shell
ac_add_options --enable-application=js
# Enable optimization for speed
ac_add_options --enable-optimize
# Disable debug checks to better match a release build of Firefox.
ac_add_options --enable-debug
# Use a separate objdir for optimized builds to allow easy
# switching between optimized and debug builds while developing.
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-opt-@CONFIG_GUESS@
ac_add_options --enable-jitspew
ac_add_options --disable-bootstrap
ac_add_options --disable-rust-simd
ac_add_options --disable-wasm-memory64
ac_add_options --enable-simulator=riscv64
ac_add_options --enable-jit