Closed
Bug 1316816
Opened 9 years ago
Closed 9 years ago
Wasm baseline: Avoid double dispatch in popI64(), popF32(), popF64()
Categories
(Core :: JavaScript Engine: JIT, defect, P5)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla53
| Tracking | Status | |
|---|---|---|
| firefox53 | --- | fixed |
People
(Reporter: lth, Assigned: away)
References
Details
Attachments
(1 file)
|
8.66 KB,
patch
|
lth
:
review+
|
Details | Diff | Splinter Review |
Compare eg popI64() with popI32(): the former has a common case for ConstI64 and LocalI64 that dispatches to loadI64(), which does another tag check to discriminate between these. popI32() has different cases for ConstI32 and LocalI32 that dispatch directly to the proper routines (loadConstI32 and loadLocalI32).
The code in popI64(), popF32(), and popF64() is a holdover from the early days; we should clean these up as popI32() was cleaned up. This will improve compilation speed a little, though in truth the I32 case is probably the most important.
Is this what you had in mind?
Assignee: nobody → dmajor
Attachment #8812955 -
Flags: review?(lhansen)
| Reporter | ||
Comment 2•9 years ago
|
||
Comment on attachment 8812955 [details] [diff] [review]
patch v1
Review of attachment 8812955 [details] [diff] [review]:
-----------------------------------------------------------------
Indeed exactly like this.
Attachment #8812955 -
Flags: review?(lhansen) → review+
Pushed by dmajor@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6bcb02abe8fc
Refactor {load,pop}{I64,F32,F64} to avoid testing src.kind() twice. r=lth
Comment 4•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•