Closed
Bug 994716
Opened 10 years ago
Closed 10 years ago
IonMonkey MIPS: Bring MIPS code up to speed with the rest of the code
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: rankov, Assigned: rankov)
References
Details
Attachments
(10 files, 14 obsolete files)
14.54 KB,
patch
|
rankov
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
4.34 KB,
patch
|
rankov
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
6.92 KB,
patch
|
jandem
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
27.13 KB,
patch
|
rankov
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
4.62 KB,
patch
|
rankov
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
1.20 KB,
patch
|
rankov
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
7.85 KB,
patch
|
rankov
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
1.01 KB,
patch
|
nbp
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
1.60 KB,
patch
|
nbp
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
1.28 KB,
patch
|
rankov
:
review+
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
During upload process in the bug 969375 there have been independent changes in the rest of the code that require changes in the MIPS part. This bug will introduce these changes to MIPS port.
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8404761 -
Flags: review?(jdemooij)
Updated•10 years ago
|
Attachment #8404761 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Carry review from previous patch. I added r=jandem and renamed patch to have the correct order since there will be more patches in the bug.
Attachment #8404761 -
Attachment is obsolete: true
Attachment #8406787 -
Flags: review+
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8405312 -
Attachment is obsolete: true
Assignee | ||
Comment 5•10 years ago
|
||
Assignee | ||
Comment 6•10 years ago
|
||
Assignee | ||
Comment 7•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8407492 -
Flags: review?(nicolas.b.pierron)
Assignee | ||
Updated•10 years ago
|
Attachment #8407493 -
Flags: review?(nicolas.b.pierron)
Assignee | ||
Updated•10 years ago
|
Attachment #8407494 -
Flags: review?(nicolas.b.pierron)
Assignee | ||
Updated•10 years ago
|
Attachment #8407495 -
Flags: review?(nicolas.b.pierron)
Updated•10 years ago
|
Attachment #8407492 -
Flags: review?(nicolas.b.pierron) → review+
Updated•10 years ago
|
Attachment #8407493 -
Flags: review?(nicolas.b.pierron) → review+
Updated•10 years ago
|
Attachment #8407494 -
Flags: review?(nicolas.b.pierron) → review+
Comment 8•10 years ago
|
||
Comment on attachment 8407495 [details] [diff] [review] 05-General-updates.patch Review of attachment 8407495 [details] [diff] [review]: ----------------------------------------------------------------- Remove the 2 parts on which I commented and r=me. ::: js/src/jit/mips/MacroAssembler-mips.cpp @@ +1481,5 @@ > > bool > MacroAssemblerMIPSCompat::buildOOLFakeExitFrame(void *fakeReturnAddr) > { > + mozilla::DebugOnly<uint32_t> initialDepth = framePushed(); initialDepth is not used in any assertion in this function, it should be removed then. ::: js/src/jit/mips/MacroAssembler-mips.h @@ +68,5 @@ > + } > + Operand ToType(Operand base); > + Address ToType(Address base) { > + return ToType(Operand(base)).toAddress(); > + } These function sounds nice, but I feel that this should have been added in another patch.
Attachment #8407495 -
Flags: review?(nicolas.b.pierron) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Carry review from previous patch. Removed initialDepth definition. (In reply to Nicolas B. Pierron [:nbp] from comment #8) > These function sounds nice, but I feel that this should have been added in > another patch. These changes were introduced to ARM and X86 after MacroAssembler-mips has landed. Part of this change is already in some of the files because not all files were uploaded at the same time.
Attachment #8407495 -
Attachment is obsolete: true
Attachment #8408260 -
Flags: review+
Assignee | ||
Comment 10•10 years ago
|
||
Carry review from previous patch. Parts of this patch were moved to patch Trampoline-mips.patch in bug 969375.
Attachment #8408260 -
Attachment is obsolete: true
Attachment #8411726 -
Flags: review+
Assignee | ||
Comment 11•10 years ago
|
||
This patch came from Heiher, so I'm upstreming it with his name.
Assignee | ||
Comment 12•10 years ago
|
||
Attachment #8411884 -
Flags: review?(jdemooij)
Assignee | ||
Updated•10 years ago
|
Attachment #8411842 -
Flags: review?(jdemooij)
Assignee | ||
Comment 13•10 years ago
|
||
A small add to the patch.
Attachment #8411884 -
Attachment is obsolete: true
Attachment #8411884 -
Flags: review?(jdemooij)
Attachment #8411891 -
Flags: review?(jdemooij)
Updated•10 years ago
|
Attachment #8411842 -
Flags: review?(jdemooij) → review+
Updated•10 years ago
|
Attachment #8411891 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 14•10 years ago
|
||
Carry review from previous patch. Updated r=nbp.
Attachment #8412660 -
Flags: review+
Assignee | ||
Comment 15•10 years ago
|
||
Carry review from previous patch. Updated r=nbp.
Attachment #8407492 -
Attachment is obsolete: true
Attachment #8407493 -
Attachment is obsolete: true
Attachment #8412662 -
Flags: review+
Assignee | ||
Comment 16•10 years ago
|
||
Carry review from previous patch. Updated r=nbp.
Attachment #8407494 -
Attachment is obsolete: true
Attachment #8412663 -
Flags: review+
Assignee | ||
Comment 17•10 years ago
|
||
Carry review from previous patch. Updated r=jandem.
Attachment #8411842 -
Attachment is obsolete: true
Assignee | ||
Comment 18•10 years ago
|
||
Comment on attachment 8412664 [details] [diff] [review] 06-ScaledAddress.patch Carry review from previous patch.
Attachment #8412664 -
Flags: review+
Assignee | ||
Comment 19•10 years ago
|
||
Comment on attachment 8412663 [details] [diff] [review] 04-AutoFlushCache.patch Douglas, Does this patch affect the work you are doing for cache flush on ARM?
Attachment #8412663 -
Flags: feedback?(dtc-moz)
Comment 20•10 years ago
|
||
Comment on attachment 8412663 [details] [diff] [review] 04-AutoFlushCache.patch Review of attachment 8412663 [details] [diff] [review]: ----------------------------------------------------------------- It is proposed to rewrite this code, and the patched code has been removed. Emailed along the patch.
Attachment #8412663 -
Flags: feedback?(dtc-moz)
Assignee | ||
Comment 21•10 years ago
|
||
Removed 04-AutoFlushCache.patch because of comment #20 from Douglas.
Attachment #8412663 -
Attachment is obsolete: true
Attachment #8418064 -
Flags: review?(nicolas.b.pierron)
Assignee | ||
Comment 22•10 years ago
|
||
Attachment #8418066 -
Flags: review?(nicolas.b.pierron)
Assignee | ||
Updated•10 years ago
|
Attachment #8406787 -
Flags: checkin?(nicolas.b.pierron)
Assignee | ||
Updated•10 years ago
|
Attachment #8411726 -
Flags: checkin?(nicolas.b.pierron)
Assignee | ||
Updated•10 years ago
|
Attachment #8411891 -
Flags: checkin?(nicolas.b.pierron)
Assignee | ||
Updated•10 years ago
|
Attachment #8412660 -
Flags: checkin?(nicolas.b.pierron)
Assignee | ||
Updated•10 years ago
|
Attachment #8412662 -
Flags: checkin?(nicolas.b.pierron)
Assignee | ||
Updated•10 years ago
|
Attachment #8412664 -
Flags: checkin?(nicolas.b.pierron)
Assignee | ||
Updated•10 years ago
|
Keywords: leave-open
Comment 23•10 years ago
|
||
Hi, could you provide a Try link. Suggestions for what to run if you haven't yet can be found here: https://wiki.mozilla.org/Sheriffing/How:To:Recommended_Try_Practices
Comment 24•10 years ago
|
||
Comment on attachment 8418064 [details] [diff] [review] 08-General-updates-3.patch Review of attachment 8418064 [details] [diff] [review]: ----------------------------------------------------------------- Remove executableCopy, and r=me ::: js/src/jit/shared/IonAssemblerBuffer.h @@ +251,5 @@ > tail->setNext(tmp); > tail = tmp; > } > > + void executableCopy(uint8_t *dest_) { Doesn't this belong in a different patch?
Attachment #8418064 -
Flags: review?(nicolas.b.pierron) → review+
Comment 25•10 years ago
|
||
Comment on attachment 8418066 [details] [diff] [review] 09-test-magic-value.patch Review of attachment 8418066 [details] [diff] [review]: ----------------------------------------------------------------- hum … I would prefer if we could open a dedicated bug for this one, as it seems that we have the same issue on ARM and x64 too. Can you move this patch to the new bug and carry the review to this new bug, thanks. By the way, the x64 version should just do a 64bits compare in all cases. ::: js/src/jit/mips/MacroAssembler-mips.h @@ +708,5 @@ > void branchTestMagic(Condition cond, const BaseIndex &src, Label *label); > > void branchTestMagicValue(Condition cond, const ValueOperand &val, JSWhyMagic why, > Label *label) { > + JS_ASSERT(cond == Equal || cond == NotEqual); We are (slowly) moving away from JS_ASSERT, in direction of MOZ_ASSERT.
Attachment #8418066 -
Flags: review?(nicolas.b.pierron) → review+
Assignee | ||
Comment 26•10 years ago
|
||
Carry review from previous patch. Removed executableCopy. Will make a separate patch.
Attachment #8418064 -
Attachment is obsolete: true
Attachment #8418066 -
Attachment is obsolete: true
Attachment #8418694 -
Flags: review+
Attachment #8418694 -
Flags: checkin?(nicolas.b.pierron)
Assignee | ||
Comment 27•10 years ago
|
||
Attachment #8418724 -
Flags: review?(nicolas.b.pierron)
Assignee | ||
Comment 28•10 years ago
|
||
Carry review from previous patch. Updated patch because of fuzz 1 during import.
Attachment #8418694 -
Attachment is obsolete: true
Attachment #8418694 -
Flags: checkin?(nicolas.b.pierron)
Attachment #8419322 -
Flags: review+
Attachment #8419322 -
Flags: checkin?(nicolas.b.pierron)
Assignee | ||
Comment 29•10 years ago
|
||
(In reply to Carsten Book [:Tomcat] from comment #23) > Hi, could you provide a Try link. Suggestions for what to run if you haven't > yet can be found here: > https://wiki.mozilla.org/Sheriffing/How:To:Recommended_Try_Practices Here is the try link: https://tbpl.mozilla.org/?tree=Try&rev=5964504030c3
Comment 30•10 years ago
|
||
Comment on attachment 8406787 [details] [diff] [review] 01-MacroAssempler-mips-missing.patch https://hg.mozilla.org/integration/mozilla-inbound/rev/5fce8c9d9c0f
Attachment #8406787 -
Flags: checkin?(nicolas.b.pierron) → checkin+
Comment 31•10 years ago
|
||
Comment on attachment 8412660 [details] [diff] [review] 02-Style-fixes.patch https://hg.mozilla.org/integration/mozilla-inbound/rev/fbfff6e64063
Attachment #8412660 -
Flags: checkin?(nicolas.b.pierron) → checkin+
Comment 32•10 years ago
|
||
Comment on attachment 8412662 [details] [diff] [review] 03-TestOverflow.patch https://hg.mozilla.org/integration/mozilla-inbound/rev/3fe658d89858
Attachment #8412662 -
Flags: checkin?(nicolas.b.pierron) → checkin+
Comment 33•10 years ago
|
||
Comment on attachment 8411726 [details] [diff] [review] 05-General-updates.patch https://hg.mozilla.org/integration/mozilla-inbound/rev/f89de4e6408c
Attachment #8411726 -
Flags: checkin?(nicolas.b.pierron) → checkin+
Comment 34•10 years ago
|
||
Comment on attachment 8412664 [details] [diff] [review] 06-ScaledAddress.patch https://hg.mozilla.org/integration/mozilla-inbound/rev/bd7f7828dde2
Attachment #8412664 -
Flags: checkin?(nicolas.b.pierron) → checkin+
Comment 35•10 years ago
|
||
Comment on attachment 8411891 [details] [diff] [review] 07-General-updates-2.patch https://hg.mozilla.org/integration/mozilla-inbound/rev/be2ced1f55fc
Attachment #8411891 -
Flags: checkin?(nicolas.b.pierron) → checkin+
Comment 36•10 years ago
|
||
Comment on attachment 8419322 [details] [diff] [review] 08-General-updates-3.patch https://hg.mozilla.org/integration/mozilla-inbound/rev/cf209153f20e
Attachment #8419322 -
Flags: checkin?(nicolas.b.pierron) → checkin+
Assignee | ||
Comment 37•10 years ago
|
||
Attachment #8419431 -
Flags: review?(nicolas.b.pierron)
Comment 38•10 years ago
|
||
Comment on attachment 8418724 [details] [diff] [review] 09-executableCopy.patch Review of attachment 8418724 [details] [diff] [review]: ----------------------------------------------------------------- I am forwarding the Review to Marty, as worked on the IonAssemblerBuffer. I am not sure to understand why we need to add an executableCopy here without removing any of the existing one[1] [1] http://dxr.mozilla.org/mozilla-central/search?q=executableCopy+path%3Ajs%2Fsrc%2Fjit%2F&case=false
Attachment #8418724 -
Flags: review?(nicolas.b.pierron) → review?(mrosenberg)
Updated•10 years ago
|
Attachment #8419431 -
Flags: review?(nicolas.b.pierron) → review+
Comment 39•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5fce8c9d9c0f https://hg.mozilla.org/mozilla-central/rev/fbfff6e64063 https://hg.mozilla.org/mozilla-central/rev/3fe658d89858 https://hg.mozilla.org/mozilla-central/rev/f89de4e6408c https://hg.mozilla.org/mozilla-central/rev/bd7f7828dde2 https://hg.mozilla.org/mozilla-central/rev/be2ced1f55fc https://hg.mozilla.org/mozilla-central/rev/cf209153f20e
Assignee | ||
Comment 40•10 years ago
|
||
(In reply to Nicolas B. Pierron [:nbp] from comment #38) > I am forwarding the Review to Marty, as worked on the IonAssemblerBuffer. > I am not sure to understand why we need to add an executableCopy here > without removing any of the existing one[1] > > [1] > http://dxr.mozilla.org/mozilla-central/ > search?q=executableCopy+path%3Ajs%2Fsrc%2Fjit%2F&case=false ARM uses AssemblerBufferWithConstantPool which is derived from AssemblerBuffer. Since MIPS has no need for constant pool, MIPS is using the AssemblerBuffer class. This class is missing the executableCopy method that the AssemblerBufferWithConstantPool class has.
Updated•10 years ago
|
Attachment #8418724 -
Flags: review?(mrosenberg) → review+
Comment 41•10 years ago
|
||
(In reply to Nicolas B. Pierron [:nbp] from comment #38) > Comment on attachment 8418724 [details] [diff] [review] > 09-executableCopy.patch > > Review of attachment 8418724 [details] [diff] [review]: > ----------------------------------------------------------------- > > I am forwarding the Review to Marty, as worked on the IonAssemblerBuffer. > I am not sure to understand why we need to add an executableCopy here > without removing any of the existing one[1] > > [1] > http://dxr.mozilla.org/mozilla-central/ > search?q=executableCopy+path%3Ajs%2Fsrc%2Fjit%2F&case=false The only one in the assembler buffer is in the assembler buffer with constant pools. If they're using the assembler buffer directly, then they'd need it in the parent class as well.
Assignee | ||
Comment 42•10 years ago
|
||
Attachment #8425530 -
Flags: review?(nicolas.b.pierron)
Updated•10 years ago
|
Attachment #8425530 -
Flags: review?(nicolas.b.pierron) → review+
Assignee | ||
Comment 43•10 years ago
|
||
Rebased patch because it failed to apply. Updated: r=mrosenberg Carry review from previous patch.
Attachment #8418724 -
Attachment is obsolete: true
Attachment #8426248 -
Flags: review+
Assignee | ||
Comment 44•10 years ago
|
||
Checkin is needed for patches 09, 10 and 11. Try link is here: https://tbpl.mozilla.org/?tree=Try&rev=38fc63d99408 The bug can be closed now.
Keywords: leave-open → checkin-needed
Comment 45•10 years ago
|
||
Comment on attachment 8426248 [details] [diff] [review] 09-executableCopy.patch https://hg.mozilla.org/integration/mozilla-inbound/rev/9dd97c7126ec
Attachment #8426248 -
Flags: checkin+
Comment 46•10 years ago
|
||
Comment on attachment 8419431 [details] [diff] [review] 10-Trampolines-follow-up.patch https://hg.mozilla.org/integration/mozilla-inbound/rev/d930fc7af6ac
Attachment #8419431 -
Flags: checkin+
Comment 47•10 years ago
|
||
Comment on attachment 8425530 [details] [diff] [review] 11-Update-branchTestStringTruthy.patch https://hg.mozilla.org/integration/mozilla-inbound/rev/204bc2c5a2e5
Attachment #8425530 -
Flags: checkin+
Updated•10 years ago
|
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/9dd97c7126ec https://hg.mozilla.org/mozilla-central/rev/d930fc7af6ac https://hg.mozilla.org/mozilla-central/rev/204bc2c5a2e5
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•