Closed
Bug 1994191
Opened 1 year ago
Closed 1 year ago
Clean-up riscv64 branching code
Categories
(Core :: JavaScript Engine: JIT, enhancement, P5)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
146 Branch
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
References
(Blocks 1 open bug)
Details
Attachments
(4 external files)
No description provided.
| Assignee | ||
Comment 1•1 year ago
|
||
Changes:
- Avoid loading zero immediate into a register.
- Remove duplicate code in
ma_branch. - Always try short jumps in
ma_branchif the label is already bound.
| Assignee | ||
Comment 2•1 year ago
|
||
Comparing against zero doesn't require to load the immediate 1 into a register.
| Assignee | ||
Comment 3•1 year ago
|
||
This avoids code duplication.
| Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Severity: -- → N/A
Priority: -- → P5
Pushed by andre.bargull@gmail.com:
https://github.com/mozilla-firefox/firefox/commit/453e8da7933f
https://hg.mozilla.org/integration/autoland/rev/c94390be8c16
Part 1: Clean-up riscv branching code. r=spidermonkey-reviewers,iain
https://github.com/mozilla-firefox/firefox/commit/9d56e2c7adbf
https://hg.mozilla.org/integration/autoland/rev/2dca26a60503
Part 2: Prefer comparison against zero. r=spidermonkey-reviewers,iain
https://github.com/mozilla-firefox/firefox/commit/18bb76985052
https://hg.mozilla.org/integration/autoland/rev/adfe3caff52c
Part 3: Add branch float helpers to request short jumps. r=spidermonkey-reviewers,iain
https://github.com/mozilla-firefox/firefox/commit/d18a1d8dfe43
https://hg.mozilla.org/integration/autoland/rev/bee70a3d58d8
Part 4: Fix early return in FloatMinMaxHelper. r=spidermonkey-reviewers,iain
https://hg.mozilla.org/mozilla-central/rev/c94390be8c16
https://hg.mozilla.org/mozilla-central/rev/2dca26a60503
https://hg.mozilla.org/mozilla-central/rev/adfe3caff52c
https://hg.mozilla.org/mozilla-central/rev/bee70a3d58d8
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox146:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
Updated•1 year ago
|
QA Whiteboard: [qa-triage-done-c147/b146]
You need to log in
before you can comment on or make changes to this bug.
Description
•