Closed
Bug 925088
Opened 11 years ago
Closed 11 years ago
Miscellaneous SpiderMonkey micro-optimizations
Categories
(Core :: JavaScript Engine: JIT, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: sunfish, Assigned: sunfish)
Details
Attachments
(3 files)
(deleted),
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mjrosenb
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
nbp
:
review+
|
Details | Diff | Splinter Review |
The following are a few micro-optimization patches focused on x86 and x64.
Attachment #815060 -
Flags: review?(jdemooij)
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #815061 -
Flags: review?(mrosenberg)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #815064 -
Flags: review?(nicolas.b.pierron)
Comment 3•11 years ago
|
||
Comment on attachment 815061 [details] [diff] [review]
micro-test-string-truthy.patch
Review of attachment 815061 [details] [diff] [review]:
-----------------------------------------------------------------
wow, the arm backend has done this for a whle. Guess I should have checked x64.
Attachment #815061 -
Flags: review?(mrosenberg) → review+
Comment 4•11 years ago
|
||
Comment on attachment 815064 [details] [diff] [review]
micro-fold-branchTest32.patch
Review of attachment 815064 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/jit/IonMacroAssembler.cpp
@@ +901,5 @@
> }
>
> void
> MacroAssembler::checkInterruptFlagsPar(const Register &tempReg,
> Label *fail)
unrelated-nit: indent the second argument correctly.
Attachment #815064 -
Flags: review?(nicolas.b.pierron) → review+
Comment 5•11 years ago
|
||
Comment on attachment 815060 [details] [diff] [review]
micro-branch-truncate-double.patch
Review of attachment 815060 [details] [diff] [review]:
-----------------------------------------------------------------
Nice :)
::: js/src/jit/x64/MacroAssembler-x64.h
@@ +1048,1 @@
> JS_ASSERT(dest != ScratchReg);
Nit: we can remove this assert now.
Attachment #815060 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Nicolas B. Pierron [:nbp] from comment #4)
> @@ +901,5 @@
> > }
> >
> > void
> > MacroAssembler::checkInterruptFlagsPar(const Register &tempReg,
> > Label *fail)
>
> unrelated-nit: indent the second argument correctly.
Done.
(In reply to Jan de Mooij [:jandem] from comment #5)
> @@ +1048,1 @@
> > JS_ASSERT(dest != ScratchReg);
>
> Nit: we can remove this assert now.
Done.
https://hg.mozilla.org/integration/mozilla-inbound/rev/00e39c694626
https://hg.mozilla.org/integration/mozilla-inbound/rev/92416820c9fa
https://hg.mozilla.org/integration/mozilla-inbound/rev/44c21dcf1274
https://hg.mozilla.org/mozilla-central/rev/00e39c694626
https://hg.mozilla.org/mozilla-central/rev/92416820c9fa
https://hg.mozilla.org/mozilla-central/rev/44c21dcf1274
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Comment 8•11 years ago
|
||
Could this bug or bug 924642 have regressed Octane-Splay?
Comment 9•11 years ago
|
||
(In reply to Guilherme Lima from comment #8)
> Could this bug or bug 924642 have regressed Octane-Splay?
No, see the regression range in Bug 925824.
Comment 10•11 years ago
|
||
Splay also regressed 14 hours before the big regression that also affected Raytrace. This specific regression only hits Firefox without GGC.
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Guilherme Lima from comment #10)
> Splay also regressed 14 hours before the big regression that also affected
> Raytrace. This specific regression only hits Firefox without GGC.
Yes. AWFY doesn't seem to be updating at the moment, but graphs.mozilla.org has several graphs which show that it has not fully recovered. I filed bug 926514 to track this.
Comment 12•11 years ago
|
||
You pushed https://hg.mozilla.org/integration/mozilla-inbound/rev/188f87037857 reverting something from here for some reason.
I pushed http://hg.mozilla.org/integration/mozilla-inbound/rev/2a0c1a40594f reverting your revert because you made parallel/timeout-gc.js and parallel/timeout.js timeout.
Comment 13•11 years ago
|
||
Assignee | ||
Comment 14•11 years ago
|
||
The reverts are for bug 926514. I'll make that explicit in revert commit messages going forward.
Assignee | ||
Comment 15•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•