Closed
Bug 1743607
Opened 3 years ago
Closed 3 years ago
[MIPS64] Fix indirect stubs on mips64 platform
Categories
(Core :: JavaScript: WebAssembly, defect, P1)
Tracking
()
RESOLVED
FIXED
97 Branch
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox95 | --- | unaffected |
firefox96 | --- | fixed |
firefox97 | --- | fixed |
People
(Reporter: zhaojiazhong-hf, Assigned: zhaojiazhong-hf)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details |
D131625 added indirect stubs, but caused some wasm tests failures on mips64 platform. And it seems to be caused be the following code:
#if defined(JS_CODEGEN_MIPS64)
masm.as_jr(ra);
#elif defined(JS_CODEGEN_ARM64)
Since MIPS64 have delay slots, we should append a nop
to the jump instruction, otherwise the next instruction will be accidently executed.
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Has Regression Range: --- → yes
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P1
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → zhaojiazhong-hf
Updated•3 years ago
|
Keywords: regression
Pushed by lhansen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/52a8ec8e1dd2
[MIPS64] Fix jr instruction usage in indirect stubs. r=lth
Comment 3•3 years ago
|
||
bugherder |
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
status-firefox97:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
Updated•3 years ago
|
status-firefox95:
--- → unaffected
status-firefox-esr91:
--- → unaffected
Comment 4•3 years ago
|
||
The patch landed in nightly and beta is affected.
:zhaojiazhong-hf, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Flags: needinfo?(zhaojiazhong-hf)
Assignee | ||
Comment 5•3 years ago
|
||
Comment on attachment 9253048 [details]
Bug 1743607 - [MIPS64] Fix jr instruction usage in indirect stubs. r=lth
Beta/Release Uplift Approval Request
- User impact if declined: Some wasm programs may crash on MIPS64 machines.
- Is this code covered by automated tests?: Unknown
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's a small bugfix and only affects MIPS64 platform.
- String changes made/needed:
Flags: needinfo?(zhaojiazhong-hf)
Attachment #9253048 -
Flags: approval-mozilla-beta?
Comment 6•3 years ago
|
||
Comment on attachment 9253048 [details]
Bug 1743607 - [MIPS64] Fix jr instruction usage in indirect stubs. r=lth
Approved for 96.0b4
Attachment #9253048 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 7•3 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•