Closed
Bug 555633
Opened 15 years ago
Closed 15 years ago
nanojit: rename opcodes in LIRopcode.tbl
Categories
(Core Graveyard :: Nanojit, defect)
Core Graveyard
Nanojit
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: n.nethercote, Unassigned)
References
Details
(Whiteboard: fixed-in-nanojit, fixed-in-tamarin, fixed-in-tracemonkey)
Attachments
(2 files, 4 obsolete files)
22.58 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
9.36 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
This patch renames the opcodes in LIRopcode.tbl according the naming scheme
worked out in bug 504506, and creates aliases to all the old names so that no other code need be changed for the moment.
It also adds f64cmp_to_{i,u}32cmp() which TM will use.
Attachment #435530 -
Flags: review?(edwsmith)
![]() |
Reporter | |
Comment 1•15 years ago
|
||
This patch uses the new f64cmp_to_{i,u}32cmp() functions rather than doing a hacky convert-float-cmp-to-integer-cmp-via-subtraction.
Attachment #435531 -
Flags: review?(jseward)
![]() |
Reporter | |
Comment 2•15 years ago
|
||
It's worth noting that this patch changes the opcode order drastically as well. But both TM and TR appear to be running fine.
Attachment #435530 -
Attachment is obsolete: true
Attachment #435533 -
Flags: review?(edwsmith)
Attachment #435530 -
Flags: review?(edwsmith)
Comment 3•15 years ago
|
||
Comment on attachment 435533 [details] [diff] [review]
NJ patch v2
I reviewed the aliases carefully for typos, but only skimmed the fields in the opcode table.
Attachment #435533 -
Flags: review?(edwsmith) → review+
Updated•15 years ago
|
Attachment #435531 -
Flags: review?(jseward) → review+
![]() |
Reporter | |
Comment 4•15 years ago
|
||
http://hg.mozilla.org/projects/nanojit-central/rev/e09eec330c04
http://hg.mozilla.org/projects/nanojit-central/rev/be4f098b6cb3
http://hg.mozilla.org/tracemonkey/rev/c7cfe9ef7ba8
http://hg.mozilla.org/tracemonkey/rev/e8ce5f6d4aa9
http://hg.mozilla.org/tracemonkey/rev/972b8c497b73
Whiteboard: fixed-in-nanojit, fixed-in-tracemonkey
Comment 5•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 6•15 years ago
|
||
Whiteboard: fixed-in-nanojit, fixed-in-tracemonkey → fixed-in-nanojit, fixed-in-tracemonkey, fixed-in-tamarin
Comment 7•15 years ago
|
||
Reopening to consder two changes suggested by Rick:
stb => stl2b // store long truncated to byte
stw => stl2w // store long truncated to word
the new names reflect the fact that the store value must be an [u]int32 value and gets truncated, mirroring ldb2l and ldw2l
Assignee: nnethercote → edwsmith
Status: RESOLVED → REOPENED
Attachment #439041 -
Flags: review?(nnethercote)
Attachment #439041 -
Flags: feedback?(rreitmai)
Resolution: FIXED → ---
Updated•15 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: fixed-in-nanojit, fixed-in-tracemonkey, fixed-in-tamarin
Target Milestone: --- → Future
![]() |
Reporter | |
Updated•15 years ago
|
Attachment #439041 -
Flags: review?(nnethercote) → review+
Comment 8•15 years ago
|
||
NJ: http://hg.mozilla.org/projects/nanojit-central/rev/2eae88cd4859
TR: http://hg.mozilla.org/tamarin-redux/rev/8d17fcee6edc
Whiteboard: fixed-in-nanojit, fixed-in-tamarin
Updated•15 years ago
|
Attachment #439041 -
Flags: feedback?(rreitmai) → feedback+
![]() |
Reporter | |
Comment 9•15 years ago
|
||
Whiteboard: fixed-in-nanojit, fixed-in-tamarin → fixed-in-nanojit, fixed-in-tamarin, fixed-in-tracemonkey
Comment 10•15 years ago
|
||
This patch does not add aliases for the intel names that we started using; I will post another patch shortly that fixes LIR.h the rest of the way, plus LIR.cpp and Assembler.cpp/h.
Attachment #435531 -
Attachment is obsolete: true
Attachment #435533 -
Attachment is obsolete: true
Attachment #439041 -
Attachment is obsolete: true
Attachment #440662 -
Flags: review?(nnethercote)
Comment 11•15 years ago
|
||
(forgot to mention: passed lirasm tests, once the next two patches were applied)
Comment 12•15 years ago
|
||
Attachment #440667 -
Flags: review?(nnethercote)
![]() |
Reporter | |
Updated•15 years ago
|
Attachment #440667 -
Flags: review?(nnethercote) → review+
![]() |
Reporter | |
Comment 13•15 years ago
|
||
Comment on attachment 440662 [details] [diff] [review]
LIRopcodes.tbl and LIR.h: rename intel names to final C-based names
>- * - 's': "single", ie. 32-bit floating point value
>+ * - 'f': "single", ie. 32-bit floating point value
Change "single" to "float".
r=me with that fixed.
![]() |
Reporter | |
Updated•15 years ago
|
Attachment #440662 -
Flags: review?(nnethercote) → review+
Comment 14•15 years ago
|
||
Updated•15 years ago
|
Assignee: edwsmith → nobody
![]() |
Reporter | |
Comment 15•15 years ago
|
||
![]() |
Reporter | |
Comment 16•15 years ago
|
||
Comment 17•15 years ago
|
||
![]() |
Reporter | |
Comment 18•15 years ago
|
||
I'm pretty sure this has been merged into m-c. Marking as fixed.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•