Closed Bug 2073865 Opened 1 month ago Closed 1 month ago

[riscv64] Enable single-step profiling on riscv64-simulator

Categories

(Core :: JavaScript Engine: JIT, task, P1)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: csmantle, Assigned: csmantle)

References

(Blocks 1 open bug)

Details

Attachments

(4 external files)

The simulator itself already supports related facilities. This can be enabled with a few correctness and hygiene fixes.

The original epilogue structure is rather inexplicable, including
misplaced *ret=, strange nop, unreasonably-large pool forbidden zone,
etc. Clean them up here.

Related test harness is updated to match the new epilogue shape.

A related test is updated to account for the enablement.

Severity: -- → N/A
Priority: -- → P1
Pushed by webmaster@csmantle.top: https://github.com/mozilla-firefox/firefox/commit/8a2cac5a35b6 https://hg.mozilla.org/integration/autoland/rev/2d644f9f2721 [riscv64] Part 1: Fix WASM epilogue structure on riscv64. r=rhunt,spidermonkey-reviewers https://github.com/mozilla-firefox/firefox/commit/64bfe31f9932 https://hg.mozilla.org/integration/autoland/rev/f70497eb5224 [riscv64] Part 2: Fix transient intermediate $ra value in CollapseWasmFrameSlow. r=rhunt,spidermonkey-reviewers https://github.com/mozilla-firefox/firefox/commit/374282de1fd2 https://hg.mozilla.org/integration/autoland/rev/d034c65c0e02 [riscv64] Part 3: Implement link register-based trampoline for riscv64 in MakeReturnCallTrampoline. r=rhunt,spidermonkey-reviewers https://github.com/mozilla-firefox/firefox/commit/6842d443819b https://hg.mozilla.org/integration/autoland/rev/ce2c26efa573 [riscv64] Part 4: Enable single-step profiling on riscv64-simulator. r=spidermonkey-reviewers,jandem
QA Whiteboard: [qa-triage-done-c159/b158]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: