Closed
Bug 1637748
Opened 4 years ago
Closed 4 years ago
Optimize StringCharCodeAt in CacheIR
Categories
(Core :: JavaScript Engine: JIT, enhancement, P1)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: evilpie, Assigned: evilpie)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
I needed some simple CacheIR stub for testing the transpilation of Call stubs. Sadly all the existing "special cased natives" are kind of complicated. This should also be useful for octane-mandreel perf when we get there.
I also added some cleanup.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D75194
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D75195
Updated•4 years ago
|
Severity: -- → N/A
Priority: -- → P1
Updated•4 years ago
|
Attachment #9148157 -
Attachment description: Bug 1637748 - [Draft] Optimize StringCharCodeAt in CacheIR. → Bug 1637748 - Optimize StringChar(Code)At in CacheIR. r?iain
Assignee | ||
Comment 4•4 years ago
|
||
Technically this is not needed yet, because we only use this function in cases when pc == JSOp::Call(IgnoreRv),
but I think this a nicer abstraction for the future.
Updated•4 years ago
|
Attachment #9149448 -
Attachment description: Bug 1637748 - Introduce maybeArgCountGuard. r?iain → Bug 1637748 - Dont guard on the argc, which is always constant per PC. r?iain
Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/7ae0a2e14c02 Use the InlinableNative enum instead of JSNative pointers. r=iain https://hg.mozilla.org/integration/autoland/rev/0a3b09709cc0 Add emitNativeCalleeGuard helper. r=iain https://hg.mozilla.org/integration/autoland/rev/42c078bfda8c Optimize StringChar(Code)At in CacheIR. r=iain https://hg.mozilla.org/integration/autoland/rev/3c2afd69bfd5 Dont guard on the argc, which is always constant per PC. r=iain
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7ae0a2e14c02
https://hg.mozilla.org/mozilla-central/rev/0a3b09709cc0
https://hg.mozilla.org/mozilla-central/rev/42c078bfda8c
https://hg.mozilla.org/mozilla-central/rev/3c2afd69bfd5
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in
before you can comment on or make changes to this bug.
Description
•