Replace ReturnReg moves with storeCallPointerResult
Categories
(Core :: JavaScript Engine: JIT, task)
Tracking
()
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(6 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Replace masm.mov(ReturnReg, dest) moves with masm.storeCallPointerResult(dest), etc.
| Assignee | ||
Comment 1•3 years ago
|
||
Replaces all mov(ReturnReg, dest) calls with storeCallPointerResult(dest).
This can save an unnecessary move in some cases.
| Assignee | ||
Comment 2•3 years ago
|
||
Instead of manually calling convertBoolToInt32, use storeCallBoolResult.
Depends on D157458
| Assignee | ||
Comment 3•3 years ago
|
||
We can directly tag ReturnReg after a VM-call.
Depends on D157459
| Assignee | ||
Comment 4•3 years ago
|
||
We don't have to use storeCallBoolResult when the result is only used for
branchIf{True,False}Bool. This avoids some extra and bit-masking.
Depends on D157460
| Assignee | ||
Comment 5•3 years ago
|
||
Replacing the branchTest32 with branchIfTrueBool allows to use
storeCallPointerResult here, too.
Depends on D157461
| Assignee | ||
Comment 6•3 years ago
|
||
Depends on D157462
Comment 8•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/341f4c59c909
https://hg.mozilla.org/mozilla-central/rev/267dbf24c219
https://hg.mozilla.org/mozilla-central/rev/3edb6aed1518
https://hg.mozilla.org/mozilla-central/rev/a773b014aa29
https://hg.mozilla.org/mozilla-central/rev/d1cb52b26737
https://hg.mozilla.org/mozilla-central/rev/32b6eb832636
Updated•3 years ago
|
Description
•