Closed Bug 558597 Opened 15 years ago Closed 15 years ago

Implement LIR_stb on PPC and Sparc

Categories

(Core Graveyard :: Nanojit, defect)

PowerPC
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: edwsmith, Assigned: edwsmith)

References

Details

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

Attachments

(1 file, 2 obsolete files)

These platforms already implement LIR_ldub2ul (LIR_ldzb) to load unsigned bytes, but don't have equivalent byte-store instructions.
Summary: Implement LIR_stb on PPC, MIPS, and Sparc → Implement LIR_stb on PPC and Sparc
Blocks: 558600
Attached patch Add support for LIR_stb on PPC (obsolete) — Splinter Review
Assignee: nobody → edwsmith
Status: NEW → ASSIGNED
Attachment #438295 - Flags: review?(rreitmai)
Target Milestone: --- → Future
Attachment #438296 - Flags: review?(leon.sha)
Whiteboard: has-patch
Remove too-conservative assert.
Attachment #438295 - Attachment is obsolete: true
Attachment #438346 - Flags: review?(rreitmai)
Attachment #438295 - Flags: review?(rreitmai)
Comment on attachment 438346 [details] [diff] [review] (v2) Add support for LIR_stb on PPC Wondering if its overkill to have another MEMd-like macro that has no assert (and use it for the STB op) thus leaving the MEMd macro as is.
Attachment #438346 - Flags: review?(rreitmai) → review+
The assert was invalid, LIR does not have a requirement that offsets on 32bit load/stores must be multiples of 4. (regardless of whether the underlying CPU supports misaligned load/store).
Comment on attachment 438346 [details] [diff] [review] (v2) Add support for LIR_stb on PPC PPC patch pushed to nanojit-central http://hg.mozilla.org/projects/nanojit-central/rev/e2a7f626b351
Attachment #438346 - Attachment is obsolete: true
Whiteboard: has-patch → has-patch, fixed-in-nanojit
Whiteboard: has-patch, fixed-in-nanojit → fixed-in-nanojit, fixed-in-tamarin
Comment on attachment 438296 [details] [diff] [review] add LIR_stb for Sparc Looks good to me.
Attachment #438296 - Flags: review?(leon.sha) → review+
Whiteboard: fixed-in-nanojit, fixed-in-tamarin → fixed-in-nanojit, fixed-in-tamarin, fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
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: