Closed
Bug 1058587
Opened 10 years ago
Closed 10 years ago
OdinMonkey MIPS: Bias the global-register to improve instruction encoding efficiency
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: rankov, Assigned: rankov)
References
Details
Attachments
(1 file, 2 obsolete files)
7.80 KB,
patch
|
dougc
:
review+
|
Details | Diff | Splinter Review |
This is followup on ARM bug 1051595.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → branislav.rankov
Status: NEW → ASSIGNED
Comment 1•10 years ago
|
||
Here's the suggested patch. This was tested, but with other pending patches applied, so could use retesting.
Comment 2•10 years ago
|
||
With the uses in GenerateAsyncInterruptExit() also patched, thanks.
Attachment #8479028 -
Attachment is obsolete: true
Attachment #8479042 -
Flags: review?(branislav.rankov)
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8479042 [details] [diff] [review] Bias the global-register to improve instruction encoding efficiency. Review of attachment 8479042 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. Might need a rebase because I landed the patches from bug 972836 ::: js/src/asmjs/AsmJSValidate.cpp @@ -6647,3 @@ > masm.pop(HeapReg); > masm.as_jr(HeapReg); > - masm.loadPtr(Address(GlobalReg, AsmJSModule::heapGlobalDataOffset()), HeapReg); nit: Line over 99 characters ::: js/src/jit/mips/CodeGenerator-mips.cpp @@ +2184,5 @@ > Register tmp = ToRegister(ins->temp()); > Register out = ToRegister(ins->output()); > unsigned addr = mir->globalDataOffset(); > > + BaseIndex source(GlobalReg, index, TimesFour, addr - AsmJSGlobalRegBias); Maybe change addr above for consistency.
Attachment #8479042 -
Flags: review?(branislav.rankov) → review+
Comment 4•10 years ago
|
||
Rebase. Carry forward r+.
Attachment #8479042 -
Attachment is obsolete: true
Attachment #8479480 -
Flags: review+
Comment 5•10 years ago
|
||
This only touches the MIPS backend which is not tested by tbpl, so requesting checkin without a try build
Keywords: checkin-needed
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/55ada902c145
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/55ada902c145
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in
before you can comment on or make changes to this bug.
Description
•