Commit Graph

235 Commits

Author SHA1 Message Date
Nicholas Nethercote
bdd9c63662 Bug 582191 - nanojit: fix formatImm[IQ] bogons. r=edwsmith.
--HG--
extra : convert_revision : ce704edcab9d092627ad29e60efc0991ee2682e0
2010-07-28 17:06:14 -07:00
Nicholas Nethercote
c591888546 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3). r=edwsmith.
--HG--
extra : convert_revision : 962916dc590fe3f55d15f00ac91b13e4ec4409a2
2010-07-27 21:28:02 -07:00
Nicholas Nethercote
da850ce005 Backout the last four patches for bug 552812 due to downstream Windows assertion failures on TM. Argh.
--HG--
extra : convert_revision : eb7dfecbdf2fd32d78673e10eb2289129966f6ce
2010-07-25 23:42:51 -07:00
Nicholas Nethercote
21a5ae4df8 Try to force MSVC to pack bit-fields properly, argh.
--HG--
extra : convert_revision : 09d69292e4ade9c77ce88f32e1840bd06071e2d6
2010-07-25 19:49:58 -07:00
Nicholas Nethercote
e82972a6ac Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 2). r=edwsmith.
--HG--
extra : convert_revision : 7e11df137a4d30bd8411cf3b35cb26a003188f86
2010-07-25 19:17:39 -07:00
Nicholas Nethercote
5272ac360b Backout last three patches for bug 552812 due to further Windows breakage, sigh.
--HG--
extra : convert_revision : 1909331461436f43dad16a22e502f332e7ad3488
2010-07-25 18:39:41 -07:00
Nicholas Nethercote
3013ab8162 Groan, fix syntax error.
--HG--
extra : convert_revision : 8dd52f216fd251c7ae0d250f64afdfade4892fbc
2010-07-25 18:32:15 -07:00
Nicholas Nethercote
c179be068c Fix Windows bustage from bug 552812.
--HG--
extra : convert_revision : bd1e180e8836da69c228bac3bb8e268020ccaba4
2010-07-25 18:27:49 -07:00
Nicholas Nethercote
208a727c1b Bug 552812 - nanojit: factor out AccSet differences into TM and TR. r=edwsmith.
--HG--
extra : convert_revision : 2d211c925ffabfc0a5dcc6ba9a6eaf02a32b47d4
2010-07-25 18:20:42 -07:00
Nicholas Nethercote
a901c621f3 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig. r=edwsmith.
--HG--
extra : convert_revision : cfbed237877f0939423d9c1ac591c0a7edb5b0c0
2010-07-04 19:39:09 -07:00
Eli Friedman
c7b36cb9f6 Bug 576363 - Qualify accesses to dependent base in js. r=nnethercote.
--HG--
extra : convert_revision : 5c5cacef53d6a42f6226636c0fa71c13e428b52f
2010-07-04 19:12:15 -07:00
Nicholas Nethercote
dac3291064 Bug 513514 - nanojit: make hint() faster. r=edwsmith.
--HG--
extra : convert_revision : f95a1857f8fec03f4fa24c84cbb6222c4820c5a7
2010-06-30 18:32:06 -07:00
William Maddox
fc75018411 Bug 571430 - Allow for NumSavedRegs == 0 on SPARC (r=rreitmai+)
--HG--
extra : convert_revision : fb015a561f6b65104930a723e800c21a2d66e1bd
2010-06-16 14:29:43 -07:00
Edwin Smith
b919fbbe12 Bug 562152 - Remove typedef LInsp (r=nnethercote+)
--HG--
extra : convert_revision : 63a0a36e4637218160b42646feb9a18b408d8671
2010-06-10 11:22:18 -04:00
Rick Reitmaier
4e416a5a6b Bug 568393 - msvc 2008 compiler generates bad code for CallInfo static initializer (r+wmaddox)
ugh

--HG--
extra : convert_revision : f7c07b8ca96fc2ef1179171f05e69b841ac2865f
2010-05-26 18:02:31 -07:00
Edwin Smith
ab48828f96 Bug 560926 - Add support for arithmetic with branch on overflow (r= nnethercote+ edwsmith+ wmaddox+) 2010-06-06 17:57:30 -07:00
Nicholas Nethercote
3c1d859013 Backout the last NJ-to-TM merge (TM revisions b44daa2c0503 to b3167f8f9459, inclusive) because it caused lots of oranges. r=me. 2010-06-03 21:28:18 -07:00
Rick Reitmaier
af0bc4b0af Bug 568393 - msvc 2008 compiler generates bad code for CallInfo static initializer (r+wmaddox)
ugh

--HG--
extra : convert_revision : f7c07b8ca96fc2ef1179171f05e69b841ac2865f
2010-05-26 18:02:31 -07:00
Edwin Smith
3b4ffa11f5 Bug 560926 - Add support for arithmetic with branch on overflow (r=nnethercote+ edwsmith+ wmaddox+)
Patch to add 'j' (branch) variants of the exit-on-overflow instructions,
plus a few dependents:

32-bit:
LIR_addjovi
LIR_subjovi
LIR_muljovi

64-bit:
LIR_subq
LIR_addjovq
LIR_subjovq

--HG--
extra : convert_revision : 68023362b0833433a0bc0c3b5af8994894488f33
2010-05-26 14:03:14 -04:00
Edwin Smith
603d2206c9 whitespace hygiene
--HG--
extra : convert_revision : f96ca24c15235dba3282e3649356b6a7acf5d2e2
2010-05-19 20:54:10 -04:00
Edwin Smith
edbad98461 Bug 566759 - Remove LOpcode aliases once they are no longer used (r=nnethercote+)
--HG--
extra : convert_revision : 6aa777cb07a63862372399ac78a6f39b573c6dc1
2010-05-19 09:34:07 -04:00
Nicholas Nethercote
7a0c7aaa29 Bug 562597 - nanojit: more LOpcode-related renamings. r=edwsmith.
--HG--
extra : convert_revision : 96391e53a0b48bd53fa98db68da86f76a55e9bd0
2010-05-11 17:14:20 -07:00
Nicholas Nethercote
93fba42127 Bug 564080 - nanojit: merge LIR_alloc[iq]. r=edwsmith.
--HG--
extra : convert_revision : bf229d93127ae64ffa62f4c872c2319bbc4dc59b
2010-05-06 16:13:11 -07:00
Nicholas Nethercote
3b86611069 Bug 560712 - nanojit: give immediates names when printing LIR. r=edwsmith.
--HG--
extra : convert_revision : 53522168256873ff92a5cf1668d3ef8e65a87f38
2010-04-27 18:40:51 -07:00
Nicholas Nethercote
03c04769c0 Bug 518267 - nanojit: some instructions not printed with TMFLAGS=assembly. r=edwsmith.
--HG--
extra : convert_revision : 118664704b902286b9b21a35e3a998685980066a
2010-04-27 15:31:31 -07:00
Nicholas Nethercote
05c2de7b5b Bug 561182 - nanojit: merge LInsHashSet into CseFilter. r=rreitmai.
--HG--
extra : convert_revision : 5a687f2ed6268d873a011f13da912ebb8bfb03e4
2010-04-26 21:59:32 -07:00
Nicholas Nethercote
0ca74ddded Bug 560160 - nanojit: rename LOpcode-related names. r=edwsmith.
--HG--
extra : convert_revision : 234af92683dad306d03911975b0e9afc57936cf5
2010-04-21 19:34:46 -07:00
Nicholas Nethercote
42b15a4cbf Avoid compiler warnings. r=me.
--HG--
extra : convert_revision : a33a817354bebed12877a0e6ab4c42729ec3c8c7
2010-04-21 18:28:35 -07:00
Edwin Smith
c25f6733ba Rename LIR opcodes once more, using new C convention (bugs 555633, bug 557877 r=nnethercote+)
This patch un-does the intel names that have been used so far within
nanojit, updates the aliases in LIR.h, and fixes the names used in
lirasm tests.

Host VM's will need to run rename_LIR.pl from bug 504506 if they have
already begun using the intel names; aliases are not provided for them in LIR.h.

--HG--
extra : convert_revision : 2787af46329c72796954ddb68f53326f0de661e4
2010-04-21 21:13:17 -04:00
Nicholas Nethercote
dba392140f Bug 559719 - nanojit: tweak LIns::lastWord. r=edwsmith.
--HG--
extra : convert_revision : 3f81d8a5f0515f891eac0c8821370d4309787483
2010-04-20 17:51:50 -07:00
Nicholas Nethercote
a9ce7676df Fix compiler warning. r=me.
--HG--
extra : convert_revision : 4baf0bdb53dfdc39a1a6b1cf9ee78c0c42be8a6f
2010-04-18 16:15:25 -07:00
Edwin Smith
b0c60c31a3 Rename LIR opcodes in LIR.h (bug 557887, r=nnethercote+)
Mechanically renamed using rename_LIR.pl, backed out the alias patch hunks,
and updated the pointer-sized aliases to use the new opcodes instead of
PTR_SIZE macros using old opcodes.

--HG--
extra : convert_revision : 944433df375988c65313759440ed1de757ab4ea8
2010-04-16 19:20:24 -04:00
Edwin Smith
b73e463983 Rename LIR_stw->stl2w, stb->stl2b, add aliases (bug 555633, r=nnethercote+)
--HG--
extra : convert_revision : 2eae88cd4859b3f82d003f1cfd42153c45a14bdf
2010-04-15 09:15:53 -04:00
Nicholas Nethercote
a0e29d2b63 Fix ARM bustage for bug 555633. r=me.
--HG--
extra : convert_revision : be4f098b6cb32f2c2787ef2842402f2b39e0925d
2010-03-31 15:14:28 -07:00
Nicholas Nethercote
d701093eb8 Bug 555633 - nanojit: rename opcodes in LIRopcode.tbl. r=edwsmith.
--HG--
extra : convert_revision : e09eec330c04cfbf3da745635c67f2fc3fee6c28
2010-03-31 15:07:50 -07:00
Nicholas Nethercote
1125c9c311 Bug 541030 - nanojit: isconstq() should only succeed for 64-bit integer. r=rreitmai.
--HG--
extra : convert_revision : b8fea2e57673f9f2d4e864870d73ee294cabd4bd
2010-03-28 16:49:42 -07:00
Edwin Smith
df5c06910a Cleaned up trailing whitespace (r=me)
--HG--
extra : convert_revision : 6ee8bcd6813ffe98061b8d09317f58138bb41bb7
2010-03-24 20:41:39 -04:00
Edwin Smith
b37a609658 Remove now-dead LIR_iaddp/qaddp/addp (bug 542016, r=nnethercote+)
Simplified the code in CseFilter::ins2() as well since addp was
the only non-cse-able binary operator.

--HG--
extra : convert_revision : 0f21522488fc4a7e3efeaad5c77b6bb96ca0f0fc
2010-03-24 20:08:06 -04:00
Nicholas Nethercote
70b954205a Bug 553518 - nanojit: avoid 'test r,r' where possible on i386. r=edwsmith.
--HG--
extra : convert_revision : ec4d959e1cc9337cf30a08bf75b246516a1728a4
2010-03-24 15:34:34 -07:00
Nicholas Nethercote
1b27c99df0 Bug 517910 - NJ: add more alias-set annotations to LIR so as to improve CSEing of loads. r=edwsmith.
--HG--
extra : convert_revision : 26cbea5a2acdcc6156b4a72b0c40c0d675f69571
2010-03-23 15:05:47 -07:00
Nicholas Nethercote
070e390dac Bug 507089 - TM/nanojit: prepare to add get/set methods for CallInfo::_argtypes. r=edwsmith.
--HG--
extra : convert_revision : 55f02d7976752940a9f328d440fb6601ee2dc9f4
2010-03-21 19:47:02 -07:00
Nicholas Nethercote
7e445d4a01 Bug 531687 - Duplicate node names in TMFLAGS=aftersf printout. r=edwsmith.
--HG--
extra : convert_revision : c844bd17e4a5e66b7913bb534e298088bee3e528
2010-03-18 10:42:30 +11:00
Nicholas Nethercote
ba12853b48 Bug 498193 - nanojit: inline all LirWriter functions. r=gal.
--HG--
extra : convert_revision : 63d6441f969c16fe5c963c5c0c500bef4ce051bc
2010-03-16 12:05:43 +11:00
Nicholas Nethercote
5eddcbaa96 Bug 551039 - nanojit: account for eight-byte alignment of stack in StackFilter. r=gal.
--HG--
extra : convert_revision : 73a17dbefb346ec569b86ae5f28a56a06297181d
2010-03-11 14:59:45 -08:00
Nicholas Nethercote
62c45aa35a Fix another WinNT compiler warning. No bug, r=me.
--HG--
extra : convert_revision : ddc0ce7b1670cbbad7aa4505696a71c3613e3324
2010-03-06 09:14:31 +11:00
Nicholas Nethercote
19e00905b7 Fix WinNT compiler warnings. No bug, r=me.
--HG--
extra : convert_revision : de5746d49dcf5073c9f37c35b2a810c7f77bc8d0
2010-03-05 17:44:28 +11:00
Nicholas Nethercote
e9aaac654a Bug 545274 - nanojit: start adding alias info to loads/stores/calls. r=rreitmai.
--HG--
extra : convert_revision : 4adbf1bbb16cf4751b46a49a4f9c474c0ab0a3b9
2010-03-02 12:43:20 +11:00
Nicholas Nethercote
764bc7aaa8 Bug 542932 - nanojit: make opcode range checks safer. r=stejohns.
--HG--
extra : convert_revision : a5291bc7b0cef4f41f4180db6388edebdbb4c208
2010-03-01 12:02:01 +11:00
Nicholas Nethercote
a361abc6fa Bug 539874 - nanojit: remove LIR_ov. r=edwsmith, Jacob.Bramley.
--HG--
extra : convert_revision : eb5f9b4138530e15b3ffd478071bf98bb7495405
2010-02-19 15:04:55 +11:00
Steven Johnson
894487e422 Bug 542133 - Add a real NJConfig struct to nanojit (r=edwsmith,r=nnethercote)
--HG--
extra : convert_revision : 353c06e32329377cc9ed5f66eeb6bcaf72ff3aea
2010-02-15 17:56:41 -08:00