Closed Bug 518737 Opened 15 years ago Closed 15 years ago

NJ merge: NativeSparc cleanup

Categories

(Tamarin Graveyard :: Baseline JIT (CodegenLIR), defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: n.nethercote, Assigned: rreitmai)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
This patches merges various Sparc changes from TM:

- Added asm_align_code()... not certain about it, but it seems reasonable
  (esp. given that Sparc-on-Tamarin doesn't appear to be tested... see below).

- Removes some extraneous end-of-line whitespace.

- asm_call(): uses MAXARGS instead of 10, adds an assertion and some debug
  printing.

- nRegisterAllocFromSet(): makes the arg type match the Assembler.h declaration.

- asm_restore(): minor arg name change.

- asm_store64() and asm_quad(): updates some code that dates from back before
  LIR was widened(!)  Does anybody actually run Tamarin on Sparc?

- Add and use LDUH32 and related macros.

- Capitalize the 's' in '__nanojit_Nativesparc__' to match the filename.

- Remove MOVCSI, which is dead.

Compiles cleanly on x86, but I don't have access to a Sparc machine.
Attachment #402730 - Flags: review?(rreitmai)
Attached patch patch v2Splinter Review
This version also converts some LIR_addp occurrences in asm_arith() to LIR_iaddp, because qaddp cannot be passed to asm_arith().
Attachment #402730 - Attachment is obsolete: true
Attachment #402733 - Flags: review?(rreitmai)
Attachment #402730 - Flags: review?(rreitmai)
Attachment #402733 - Flags: review?(rreitmai) → review+
pushed https://bugzilla.mozilla.org/show_bug.cgi?id=518737
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Resolved fixed engineering / work item that has been pushed.  Setting status to verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: