Closed
Bug 1315256
Opened 8 years ago
Closed 8 years ago
Wasm baseline: Clean up platform ifdefs, part 2: the slightly harder cases
Categories
(Core :: JavaScript Engine: JIT, defect, P2)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: lth, Assigned: lth)
Details
Attachments
(2 files)
2.53 KB,
patch
|
h4writer
:
review+
|
Details | Diff | Splinter Review |
23.83 KB,
patch
|
h4writer
:
review+
|
Details | Diff | Splinter Review |
Additional ifdef cleanup. It is possible to do more than this but apart from load and store (bug 1312751) I don't think it will pay off enough to worry about.
Assignee | ||
Comment 1•8 years ago
|
||
Add a stub for arm64, so that we can get rid of an ifdef in the compiler.
Attachment #8807550 -
Flags: review?(hv1989)
Assignee | ||
Comment 2•8 years ago
|
||
Miscellaneous cleanup. I did change some names, notably the "QUOT_REM" thing is gone in favor of "INT_DIV" since I use IntDiv as a suffix for some other names. Also some other rearrangement for clarification makes this patch a little bloated.
Attachment #8807551 -
Flags: review?(hv1989)
Comment 3•8 years ago
|
||
Comment on attachment 8807550 [details] [diff] [review] bug1315256-arm64-stub.patch Review of attachment 8807550 [details] [diff] [review]: ----------------------------------------------------------------- Should the removal of the ifdef be part of this patch?
Attachment #8807550 -
Flags: review?(hv1989) → review+
Comment 4•8 years ago
|
||
Comment on attachment 8807551 [details] [diff] [review] bug1315256-cleanup.patch Review of attachment 8807551 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for the cleanups. ::: js/src/wasm/WasmBaselineCompile.cpp @@ +2948,5 @@ > # else > MOZ_CRASH("BaseCompiler platform hook: convertI64ToF64"); > # endif > } > +#endif // I64_TO_FLOAT_CALLOUT Good call. I failed to say anything about this in previous reviews.
Attachment #8807551 -
Flags: review?(hv1989) → review+
Assignee | ||
Comment 5•8 years ago
|
||
Try run is a little colorful because of an unused variable and warnings-as-errors, but otherwise OK: https://treeherder.mozilla.org/#/jobs?repo=try&revision=360737fd4844&selectedJob=30540259
Assignee | ||
Comment 6•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3c814c9606ffc356e5c34571d1745e33781f445f Bug 1315256 - Add branch64 stub for arm64 to benefit wasm baseline. r=h4writer https://hg.mozilla.org/integration/mozilla-inbound/rev/02620bbac0928ad8f75b37dd3c0de458c7ddfe15 Bug 1315256 - Wasm baseline: clean up more ifdefs. r=h4writer
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3c814c9606ff https://hg.mozilla.org/mozilla-central/rev/02620bbac092
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•