Closed Bug 605428 Opened 15 years ago Closed 15 years ago

Implement NJ_EXPANDED_LOADSTORE for SPARC

Categories

(Core Graveyard :: Nanojit, defect)

Sun
OpenSolaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

References

Details

(Whiteboard: fixed-in-nanojit,fixed-in-tracemonkey,fixed-in-tamarin)

Attachments

(1 file)

No description provided.
Attached patch patchSplinter Review
Rewrite asm_load64() like i386 backend. The patch of Bug 605427 is required to make it work. Verified with 'make check' on both nanojit-central and tracemonkey.
Attachment #485261 - Flags: review?(wmaddox)
A quick look at lirasm/tests shows that LIR_ldf2d, for example, is given a few spot checks, but these changes need a better workout. Tamarin makes little use of ldf2d, only for the MOPs used by Alchemy-generated code. I'm not personally very familiar with TM internals, but I only see one useage of ldf2d. Similar issues likely apply to some of the other expanded load/store instructions. How extensively have you tested this patch for good coverage on all of the new instructions? I'd like to know that some non-trivial test cases have exercised these.
I can see 6099 LIR_ldf2d in make check in tracemonkey. Thousands of uses are in trace-test/tests/v8-v5/check-earley-boyer.js trace-test/tests/v8-v5/check-raytrace.js For other instructions, LIR_sti2s 115143 uses LIR_std2f 12049 uses LIR_ldc2i LIR_lds2i are not used by TM, they are tested by Nanojit bigendian/ldc2i.in, bigendian/lds2i.in
Comment on attachment 485261 [details] [diff] [review] patch R+ Can we start cleaning up the underrunProtect() mess? See bug 608105. nits: In asm_store64, should assert that 'rv' is in FpRegs, as done for 'rr' in asm_load64.
Attachment #485261 - Flags: review?(wmaddox) → review+
Whiteboard: fixed-in-nanojit
Whiteboard: fixed-in-nanojit → fixed-in-nanojit, fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-nanojit, fixed-in-tracemonkey → fixed-in-nanojit,fixed-in-tracemonkey,fixed-in-tamarin
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: