Closed Bug 1058640 Opened 10 years ago Closed 10 years ago

IonMonkey MIPS: Adapt testJitMoveEmitterCycles.cpp to work on MIPS.

Categories

(Core :: JavaScript Engine: JIT, defect)

Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: rankov, Assigned: rankov)

Details

Attachments

(1 file, 2 obsolete files)

Test testJitMoveEmitterCycles.cpp currently only works on ARM simulator. We need to run these tests on MIPS simulator too.
Assignee: nobody → branislav.rankov
Status: NEW → ASSIGNED
I created a separate file for MIPS. I could merge it into the same file with ARM, but there would be a lot of #ifdef. 
The main problem is that I have to remove lines that use regs f18 and f19 because MIPS uses them as scratch in Move Emitter.
Attachment #8482727 - Flags: review?(mrosenberg)
Fixed error in make check.
Attachment #8482727 - Attachment is obsolete: true
Attachment #8482727 - Flags: review?(mrosenberg)
Attachment #8482831 - Flags: review?(mrosenberg)
Comment on attachment 8482831 [details] [diff] [review]
Fix-testJitMoveEmitterCycles-mips.patch

Review of attachment 8482831 [details] [diff] [review]:
-----------------------------------------------------------------

Is that test file justa translation of the arm version?  If so, we may want to find a way to merge them.
Attachment #8482831 - Flags: review?(mrosenberg) → review+
It is a translation from ARM. I created a separate file to avoid ifdefs regarding use of f18 and f19 registers. These are used as Scratch on MIPS.
Rebased the patch so that it can be applied.
Carry review from previous patch.
Attachment #8482831 - Attachment is obsolete: true
Attachment #8494393 - Flags: review+
I will submit it as is for now and create a new bug to add spillSlot to MIPS MoveEmitter, so that it is more similar to ARM implementation, and that same tests can be used.
https://hg.mozilla.org/mozilla-central/rev/c64a01056ea1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: