Commit Graph

860 Commits

Author SHA1 Message Date
Robert Sayre
8218769bc0 Merge mozilla-central to tracemonkey. 2009-10-29 08:48:15 -07:00
Graydon Hoare
a87bf773fa Bug 524587 - remove softfloat guards, restore CodeAlloc ref-ptr, r=gal.
--HG--
extra : rebase_source : b7bca87acdd97bf8f0598c6069f7094a16488eb8
2009-10-27 15:24:12 -07:00
Makoto Kato
e3678e082a Bug 515545 - Add EXECUTE_TREE_TIMER code for Windows x64. r=dvander 2009-10-27 18:00:15 +09:00
Graydon Hoare
c22f99d364 Bug 524236 - ARM actually needs to check used-ness of call instruction in asm_call, r=gal. 2009-10-23 17:48:41 -07:00
Graydon Hoare
89d3fa8350 Bug 524230 - adjust asm_ld_imm assertion in ARM, r=gal. 2009-10-23 17:33:06 -07:00
Graydon Hoare
108c884253 Bug 522591 - move reader pipeline from assemble() to compile(), r=gal. 2009-10-23 14:58:10 -07:00
Graydon Hoare
c287bc3151 Bug 522314 - Make x86 virtual stack pointer code optional, g=gal.
--HG--
extra : rebase_source : c0feec3b6f94580fab0e8569a817bf36db7ed1ab
2009-10-23 13:46:09 -07:00
Graydon Hoare
5c2cdd754c Bug 524158 -re-enable immediate-load optimization on ARM, r=gal.
--HG--
extra : rebase_source : 0faa0de34ff7732b1e0f96ed4b691a55242d6acb
2009-10-23 11:10:07 -07:00
Graydon Hoare
951aacba56 Bug 523952 - typos and cleanup from tamarin, r=gal.
--HG--
extra : rebase_source : da1dcdcc6c1f21f73b2223dcdb611c17a9018190
2009-10-22 14:29:37 -07:00
Graydon Hoare
24d43ed812 Bug 523505 - Followup build fixes, r=gal on IRC. 2009-10-21 19:58:21 -07:00
Graydon Hoare
344543af05 Bug 523766 - move jump tables to allocator, r=gal. 2009-10-21 19:50:35 -07:00
Graydon Hoare
399e52afa4 Bug 523505 - move icache flushing logic around, r=gal. 2009-10-21 16:26:52 -07:00
Graydon Hoare
349ddddea8 Bug 523262 - further ARM differences from tamarin, r=gal.
--HG--
extra : rebase_source : a39c39c0d6a66886c7a068324187bb3fd50796bd
2009-10-20 17:43:13 -07:00
Graydon Hoare
c8132ae487 Bug 523416 - fix the blx_lr_broken implementation, r=sayrer. 2009-10-20 12:28:37 -07:00
Robert Sayre
6c87af99a3 Merge m-c to tracemonkey. 2009-10-20 15:02:54 -04:00
Andreas Gal
aecd20f5d4 NativeARM.cpp: don't free reservation prematurely [nanojit] (523221, r=graydon). 2009-10-19 16:17:23 -07:00
Robert Sayre
87a106a5ac WINCE bustage fix 2009-10-17 13:54:48 -04:00
Graydon Hoare
e976f3e19b Bug 522834 - Minor merge bits from Tamarin, r=gal. 2009-10-16 18:01:54 -07:00
Graydon Hoare
a74cf73b08 Bug 522773 - pick up some ARM changes, r=dvander.
--HG--
extra : rebase_source : e17665fc13bc4ad6e8e7f963d426145fe1dc9f5d
2009-10-16 14:26:17 -07:00
Steven Johnson
22c340a45f Bug 522772 - add missing ifdef FEATURE_NANOJIT, r=dvander.
--HG--
extra : rebase_source : 502eecf14545dd14a4404a2d2cb418dafb36a2fb
2009-10-15 16:39:00 -07:00
Graydon Hoare
a32e357aaa Bug 522587 - clean up variadic macro avoidance code, r=gal. 2009-10-15 16:04:55 -07:00
Graydon Hoare
426e720124 Bug 522413 - remove uses of static avmcore::config, r=gal. 2009-10-15 16:02:59 -07:00
Andreas Gal
f11dbe6531 Mostly cosmetic arm merges, merge ARM fcmp(e)d changes (522403, r=graydon). 2009-10-14 17:53:31 -07:00
Andreas Gal
85a5e42a63 Follow-up for 522341, hide TM-specific configuration in NativeARM.h 2009-10-14 17:08:23 -07:00
Andreas Gal
a52d2bf397 Pickup indirect call and microsoft emulator bugfix from redux (522377, r=graydon). 2009-10-14 16:30:48 -07:00
Andreas Gal
342c060e74 Leave choice of runtime or compile-time customization of ARM arch to embedding (522341, r=rreitmai). 2009-10-14 15:45:45 -07:00
Graydon Hoare
bb3cb0015c Bug 522363 - remove debug-break, unused parameters on displacement check, r=dvander.
--HG--
extra : rebase_source : 13ef7b6d16e5b66bb70816cfdd417ab4f9bcd758
2009-10-14 15:30:00 -07:00
Graydon Hoare
d88df29f9d Bug 522316 - more miscellaneous drift from tamarin, r=dvander.
--HG--
extra : rebase_source : 7b92362823d4ef60ebced322c1588b6cd9f445e4
2009-10-14 13:48:00 -07:00
Andreas Gal
d6cee3e10e Backed out changeset 188cf7548d85 (bug 521881). 2009-10-12 17:59:40 -07:00
Andreas Gal
e42ed339d4 Make Allocator chunk size customizable and don't free the initial chunk upon reset (521881, r=dvander). 2009-10-12 14:52:07 -07:00
Nicholas Nethercote
48efd3883f Bug 519873 - NJ merge: lirasm --random mode. r=graydon. 2009-10-12 08:48:13 +11:00
Graydon Hoare
12e43d492a Bug 521340 - TM merge: more build infrastructure (tracemonkey side), r=nnethercote. 2009-10-09 12:58:39 -07:00
Andreas Gal
b4c8bbda6f Avoid redundant stack pointer fiddling when calling functions (514827, r=rreitmai,dvander). 2009-10-07 14:25:29 -07:00
Andreas Gal
cddb5d128c Spilled quads are passed incorrectly when calling a function [ARM, nanojit] (518227, r=graydon). 2009-10-06 11:43:29 -07:00
Graydon Hoare
83d572eefa Bug 519856 - NJ merge: move VMPI stuff from avmplus, r=jimb.
--HG--
extra : rebase_source : 69e1cbe19f88dfa6ca5e54dada3d961de4cb82bb
2009-09-30 17:45:17 -07:00
Andreas Gal
f2bf7615b0 ARM compilation fix for bug 519805. 2009-10-05 09:12:25 -07:00
Makoto Kato
2dc0ebc45c Bug 515545 - Add EXECUTE_TREE_TIMER code for Windows x64. r=dvander 2009-10-04 17:03:18 +09:00
Andreas Gal
caf1760bb4 ARM backend does not support displacements > 12bits (519805, r=graydon). 2009-10-02 18:25:36 -07:00
Nicholas Nethercote
5e593932f6 Bug 519876 - NJ merge: ARM macro cleanups. r=nnethercote (patch written by rreitmai). 2009-10-01 11:54:25 +10:00
Graydon Hoare
59db3f60b0 Bug 519575 - NJ merge: more LIR.h drift, r=gal. 2009-09-29 16:36:37 -07:00
Graydon Hoare
0eca67091e Bug 519535 - NJ merge: add VTUNE dead code, r=gal. 2009-09-29 14:39:48 -07:00
Brendan Eich
4bf4354638 High-level CSE for shape guards (518448, r=jorendorff). 2009-09-29 19:05:19 -07:00
Nicholas Nethercote
238dab46a9 Bug 519595 - NJ merge: avoid compile warning in NativeX64.cpp. r=dvander. 2009-09-30 11:56:12 +10:00
Nicholas Nethercote
4565f5f07e Bug 519376 - NJ merge: move __SUNPRO _CC gunk. r=dvander. 2009-09-30 11:25:39 +10:00
Nicholas Nethercote
a2ec114552 Bug 519371 - NJ merge: add missing PEDANTIC occurrences. r=dvander. 2009-09-29 11:46:06 +10:00
Graydon Hoare
b2b399a3a6 Bug 519347 - NJ merge: pick up a couple tiny allocator cleanups, r=dvander. 2009-09-28 16:58:51 -07:00
Graydon Hoare
ce8212d362 Bug 518744 - TM: mark and rewind dataAlloc, r=gal.
--HG--
extra : rebase_source : fd9eac329fc70879ad5b45a267152937fed693fb
2009-09-25 17:20:01 -07:00
Makoto Kato
968b3b2fc0 Bug 518775 - Remove unused Windows x64 code of Nativei386.cpp. r=gal 2009-09-28 18:27:21 +09:00
Makoto Kato
59e2c49744 Bug 512409 - nanojit support for Windows x64. r=dvander 2009-09-28 18:16:41 +09:00
Robert Sayre
6b74778c56 Merge backout. 2009-09-26 18:58:56 -07:00
Robert Sayre
7e3d716d38 Backed out changeset f5ea964eb493sdf 2009-09-26 18:55:25 -07:00
Brendan Eich
69fd06459c High-level CSE for shape guards (518448, r=jorendorff). 2009-09-25 14:07:08 -07:00
Nicholas Nethercote
7ca135d39f Bug 518747 - NJ merge: get rid of NJ_LOG2_PAGE_SIZE et al. r=graydon. 2009-09-25 16:01:55 +10:00
Nicholas Nethercote
4a1d349255 Bug 518740 - NJ merge: NativeSparc stuff. r=graydon. 2009-09-25 11:56:37 +10:00
Nicholas Nethercote
20271af76e Bug 518724 - NJ merge: yet more Assembler/Nativei386.cpp folderol. r=graydon. 2009-09-25 10:21:35 +10:00
Nicholas Nethercote
6695f76eda Bug 518491 - NJ merge: Assembler bits and pieces. r=graydon. 2009-09-24 12:30:56 +10:00
Nicholas Nethercote
9598899fc8 Bug 518477 - NJ merge: LIR.{cpp,h} changes from TR. r=graydon. 2009-09-24 10:42:25 +10:00
Graydon Hoare
a18f57ecfd Bug 495734 - NJ: don't store non-LIR data in LIR buffers, r=gal.
--HG--
extra : rebase_source : 4a73fd251f3077fe3623ef1341a8aa3729a4e8bf
2009-09-22 16:06:52 -07:00
Leon Sha<leon.sha@sun.com>
86908c4497 Bug 518068 - TM: Debug build failed on NativeSparc.cpp. r=gal 2009-09-22 16:25:48 +08:00
Nicholas Nethercote
401cfd7471 Bug 518061 - NJ merge: add ExprFilter::insLoad(). r=graydon. 2009-09-22 17:21:59 +10:00
Nicholas Nethercote
3457c17879 Bug 518042 - NJ merge: Nativei386.h whitespace wibbles. r=graydon. 2009-09-22 14:27:35 +10:00
Graydon Hoare
0d45861f13 Bug 518011 - NJ merge: XORPD in x86, and some tidying, r=gal.
--HG--
extra : rebase_source : 96eeedbe25f5931ed71835d0cb7383188e016880
2009-09-21 17:03:07 -07:00
Graydon Hoare
e102fc5e1c Bug 517299 - Allocator mismatch (calloc+delete) for class TraceRecorder and LirWriter, r=gal. 2009-09-21 14:06:42 -07:00
Graydon Hoare
7ac990150d Bug 517601 - TM merge: revive lirasm, r=jorendorff. 2009-09-18 16:07:49 -07:00
Graydon Hoare
c421bb6e66 Bug 517530 - NJ merge: whitespace, equivalent code, PPC churn, r=dvander. 2009-09-18 13:31:09 -07:00
Graydon Hoare
16f6673674 Bug 517366 - NJ Merge: A Container assertion and more VMPI insulation, r=dvander. 2009-09-17 18:13:05 -07:00
Graydon Hoare
fd60b3339c Bug 517331 - NJ merge: harmless Nativei386.h changes, r=dvander. 2009-09-17 14:50:32 -07:00
Graydon Hoare
8f2fdcf156 Bug 517328 - NJ merge: copy changes to nanojit insulation layer, r=dvander.
--HG--
extra : rebase_source : 02c89206ca735a23a5633a2c4fa0d7522c9cdddc
2009-09-17 15:02:30 -07:00
Graydon Hoare
d9af42beb8 Bug 517333 - NJ merge: move LIR 64-bit opcodes around, r=dvander. 2009-09-17 14:49:49 -07:00
David Anderson
9d96cfda08 Fixed bogus Nanojit x64 assertion with very wide shifts (bug 517150, r=gal). 2009-09-17 15:25:21 -07:00
David Anderson
1be03c2e1d Added LIR_div/LIR_mod support to x64 Nanojit (bug 516898,
r=njn).
2009-09-17 14:32:12 -07:00
Graydon Hoare
963fd74e53 Bug 516620 - Kill off residue of MMgc, r=gal.
--HG--
extra : rebase_source : 1bd814f499014507fb60ad554687b12b9fe09a3e
2009-09-10 16:29:36 -07:00
Nicholas Nethercote
66fe28e11c Bug 516909 - nanojit: improve LIR_div/LIR_mod codegen. r=gal. 2009-09-17 11:10:26 +10:00
Nicholas Nethercote
d43a49fd27 Bug 516903 - nanojit: fix printing of cmov, cmovq. r=edwsmith. 2009-09-17 10:39:03 +10:00
Blake Kaplan
afba815d74 Merge tracemonkey to mozilla-central. 2009-09-16 16:15:59 -07:00
Doug Turner
3ff92d0640 Bug 515818 - cleaning up comment. r=staurt 2009-09-16 14:27:58 -07:00
Nicholas Nethercote
ea34e5ace1 Bug 515901 - nanojit: make #ifdefs consistent for _fpuStkDepth. r=rreitmai. 2009-09-16 16:00:51 +10:00
David Anderson
ef57e2d451 Quick x64 debug build bustage fix (no_r=me). 2009-09-15 19:36:48 -07:00
Graydon Hoare
d0efa663da Bug 503424 - Additional followup to fix more profound build-breakage, r=me. 2009-09-15 17:07:33 -07:00
Julian Seward
b214130415 Bug 503424 - Add built-in support for compiled-trace and -guard profiling, r=graydon. 2009-09-15 15:05:53 -07:00
Graydon Hoare
2521578c2d Backed out changeset 35777195800a, perf regression. 2009-09-14 21:07:57 -07:00
Doug Turner
5faaa5cee5 Bug 515818 - crash at js3250.dll\!nanojit::CodeAlloc::alloc. OOM. WINCE only. Use jemalloc (default allocator). r=gal 2009-09-14 22:04:35 -07:00
Graydon Hoare
5d33edd2e9 Bug 516620 - Kill off residue of MMgc, r=gal. 2009-09-10 16:29:36 -07:00
Graydon Hoare
1b282006e0 Bug 516567 - Remove unused error codes from Assembler, r=gal. 2009-09-10 16:05:47 -07:00
Nicholas Nethercote
497b41e674 Bug 515904 - nanojit: merge bug 513007 from Tamarin. r=graydon. 2009-09-14 08:29:29 +10:00
Andreas Gal
ec9363019f Add a way to flush CodeAllocs without deleting/recreating (515874, r=graydon). 2009-09-12 23:06:51 -07:00
Vladimir Vukicevic
b5e4a179d5 b=516107; TM: bad partial merge causes bad ARM codegen; r=gal 2009-09-11 19:20:15 -07:00
David Anderson
04069b3bf5 Fixed register allocation bug in x64 backend (bug 516093, r=gal). 2009-09-11 18:31:12 -07:00
Vladimir Vukicevic
e2c066ebc4 b=516107; TM: bad partial merge causes bad ARM codegen; r=gal 2009-09-11 19:16:10 -07:00
Graydon Hoare
ee59e42dc3 Bug 518730 - TM: change the allocators to calloc, r=gal. 2009-09-25 15:16:10 -07:00
Brad Lassey
50e14c78fd bug 523134 - Unresponsive script dialog on startup for windows mobile, reverting part of changeset 09a701210197 r= gal 2009-10-26 14:45:23 -04:00
Robert Sayre
9eda7abe2f Merge tracemonkey to mozilla-central. 2009-08-25 09:52:56 -07:00
Nicholas Nethercote
74317cbe5d Bug 505388 - nanojit: refactor two Assembler methods. r=edwsmith. 2009-08-25 10:59:09 +10:00
Rich Walsh
f5f2f3bc1a Bug 510657 - implement OS/2 memory functionality in nanojit/avmplus, r=gal 2009-08-24 10:21:37 +02:00
Nicholas Nethercote
0aeb8fe419 Bustage fix for optimised builds for bug 511329. 2009-08-24 09:41:11 +10:00
Nicholas Nethercote
761fce9249 Bug 511329 - nanojit: don't print dead LIR instructions with TMFLAGS=assembly. r=edwsmith. 2009-08-24 08:57:40 +10:00
Graydon Hoare
24358ae9d8 Bug 511972 - More Fragment cleanups, r=dvander.
--HG--
extra : rebase_source : 186782bd96d8155eb3f0277616012636d6ebe469
2009-08-21 13:51:55 -07:00
Jason Orendorff
f9a7d4274f Fix silly crash in HashMap::remove(). r=graydon on IRC, no bug.
--HG--
extra : rebase_source : 25d53309e30bec26f7a93148c9000e1c79431986
2009-08-21 15:14:37 -05:00
Graydon Hoare
5a401319ba Bug 511919 - Copy the x64 backend from Tamarin, r=dvander. 2009-08-21 11:27:08 -07:00
Rich Walsh
26a48fb72d Bug 510657 - simple OS/2 build fix in nanojit/avmplus, r=graydon
--HG--
extra : rebase_source : 7d4d1a75b659862460ecccdef80ce95fca119e32
2009-08-19 13:42:46 +02:00
Graydon Hoare
503c025d90 Bug 511309 - Delete class Fragmento and all uses of it, r=dvander.
--HG--
extra : rebase_source : 47047589288ac0758e0068307b5a8f393db97606
2009-08-20 17:22:47 -07:00
Graydon Hoare
ebe9c3f20b Bug 511237 - Remove primary use of Fragmento from jsregexp, r=dmandelin. 2009-08-18 15:32:54 -07:00
Graydon Hoare
571bd08a08 Bug 511040 - Make nanojit::HashMap usable for non-word keys, r=edwsmith.
--HG--
extra : rebase_source : 7d4dff334de629f60342736e50c518ec891df19f
2009-08-18 15:32:47 -07:00
Robert Sayre
86100e21e2 Merge mozilla-central to tracemonkey. 2009-08-20 18:02:17 -04:00
Edwin Smith
87b101337d Bug 510545 - Convert LInsHashSet to use Allocator instead of GC, r=gal.
--HG--
extra : rebase_source : 233cf623b49f030ca083ba250294e00b61afdac5
2009-08-06 09:41:07 -04:00
Leon Sha
e8ef1e87a3 Bug 510451 - Build failed on solaris after merge tamarin's CodeAlloc(bug 504462). r=gal 2009-08-14 18:01:38 +08:00
Edwin Smith
fa572124fd Bug 510116 - Remove dead code paths and arguments in nanojit::compile, r=gal. 2009-08-05 15:06:00 -04:00
Graydon Hoare
7ae3eb245d Bug 510104 - NJ: fix arm merge fallout, r=gal.
--HG--
extra : rebase_source : e739a12da66e0d65171bb5c2e3c09f98431ddf7c
2009-08-12 17:45:08 -07:00
Edwin Smith
83930e09a2 Bug 510095 - allocate LirBuffer with Allocator instead of GC, don't extend GCFinalizedObject, r=gal.
--HG--
extra : rebase_source : 42aa431e0d795351860f0794ea0392e1f663132b
2009-08-04 15:03:34 -04:00
Edwin Smith
ad06720f03 Bug 510078 - Convert LirNameMap to HashMap<> and Allocator, r=gal.
* * *
Don't allocate CodeAlloc with GC and dont extend GCFinalizedObject (bug 506390 r=tharwood+)

* Change PageMgr::CodeAlloc from pointer to embedded instance.
* Assembler takes CodeAlloc& now, like it already does for Allocator&
* PoolObject.cpp|h now use VMCFG_NANOJIT instead of (deprecated) FEATURE_NANOJIT
  (both #defines are equivalent)

--HG--
extra : rebase_source : 90847a654d7f669a4c2ac364dd9aae7be38cae77
2009-08-04 14:18:38 -04:00
Edwin Smith
3967b233d5 Bug 510036 - Convert LabelMap to HashMap<> and Allocator, r=gal.
--HG--
extra : rebase_source : 4f1385922085fe086084c418aa22dcc4cc4c1961
2009-08-04 13:56:48 -04:00
Edwin Smith
9c489db37c Bug 509893 - Convert NInsList to SeqBuilder<> and Allocator, r=gal.
--HG--
extra : rebase_source : ca2b073138301d78829fa1096e0cb3da607073de
2009-08-04 13:21:15 -04:00
Edwin Smith
7de6b2bc04 Bug 509890 - Convert InsList to SeqBuilder<> and Allocator, r=gal.
--HG--
extra : rebase_source : 22303e739a0a6669c634595149028872aa7bd334
2009-08-04 13:11:53 -04:00
Edwin Smith
3a5203b81c Bug 509885 - Convert NInsMap to Allocator, r=gal.
--HG--
extra : rebase_source : 3586f950b5698052af74081f8f986f32dc57fa68
2009-08-04 11:06:46 -04:00
Graydon Hoare
77e519e3e4 Bug 509883 - Grab bag of formatting churn, r=gal.
--HG--
extra : rebase_source : 05d7b651a381a9e5daca47a2140bd6f1b1154a5b
2009-08-04 11:33:14 -04:00
Edwin Smith
a65666cc5a Bug 509856 - convert LabelStateMap and RegAllocMap to Allocator based containers, r=gal. 2009-08-04 10:48:48 -04:00
Edwin Smith
6652a33cf1 Bug 509833 - Convert live() analyzer to Allocator, r=gal. 2009-08-04 10:18:25 -04:00
Edwin Smith
1913010941 Bug 509818 - Replace StringList with SeqBuilder<char*>, use Allocator, r=dvander. 2009-08-04 09:54:47 -04:00
Edwin Smith
b21d256eb9 Bug 509634 - Add new Allocator-friendly containers, r=dvander.
--HG--
extra : rebase_source : 9d85c87d2c12729873ad5af330edd2495d590d79
2009-08-04 09:31:29 -04:00
Edwin Smith
74be99c7ff Bug 509609 - Don't allocate CodeAlloc with GC and dont extend GCFinalizedObject, r=dvander. 2009-08-04 14:53:56 -04:00
Edwin Smith
186c032f2a Bug 509598 - Remove dead nanojit::CseFilter and LInsHashSet::replace, r=dvander.
--HG--
extra : rebase_source : ec7d125901bb032ad0dc5d7021070181bf8cde3d
2009-08-03 15:45:01 -04:00
Edwin Smith
a81fcd433a Bug 509596 - Remove some dead code, r=dvander.
--HG--
extra : rebase_source : 9d5ff6c6900b3befce2f6b6bf13d02a582f4a35d
2009-08-03 15:18:55 -04:00
Graydon Hoare
3dd52407c3 Bug 509586 - More VMPI insulation, r=jorendorff.
--HG--
extra : rebase_source : 0b468edd0ee08afe59fa9e7202ad3e96024f0371
2009-08-10 17:10:25 -07:00
Graydon Hoare
114f8d3c01 Bug 507302 - more whitespace fixes, r=nnethercote.
--HG--
extra : rebase_source : 7d208da8eabd76f66cfe323b5b598f45130299c6
2009-07-29 16:21:40 -07:00
Nicholas Nethercote
4b5aeeae4f Bug 514551 - nanojit: avoid using ~allocator.free. r=edwsmith. 2009-09-11 16:21:10 +10:00
Nicholas Nethercote
4faa4a2405 Bug 515312 - nanojit: kill reservations in the Sparc backend. r=leon.sha. 2009-09-11 14:43:50 +10:00
David Anderson
fdcaf63219 Greatly improved tracer x64 compliance and compatibility (bug 513844, r=gal). 2009-09-10 15:38:18 -07:00
Nicholas Nethercote
a5ab37ac5f Fix bustage caused by the patch for 514066. 2009-09-10 14:24:57 +10:00
Nicholas Nethercote
b29cd64403 Bug 514066 - TM: Make short functions in LIR.cpp inline. r=gal. 2009-09-10 14:02:59 +10:00
Nicholas Nethercote
f110b091bc Bug 514349 - nanojit: start to kill Reservations. r=edwsmith,rreitmai. 2009-09-10 11:00:18 +10:00
David Anderson
fbf123ad5b Fixed uninitialized variable in nanojit ARM backend (bug 515493, r=gal). 2009-09-09 15:45:18 -07:00
David Anderson
daf1fa4dbe Fixed LIR_ret/asm_ret on ARM (bug 515290, r=gal,vlad). 2009-09-09 12:55:17 -07:00
Andreas Gal
09f4fc3f88 Merge. 2009-09-09 12:53:11 -07:00
Andreas Gal
bb688e13fe Backed out changeset 5c7fbeed8f96 (bug 515290, accidentally committed unrelated changes with the bug). 2009-09-09 12:52:58 -07:00
David Anderson
e0f904df58 Added LIR_ov and full cmov support to x64 backend (bug 514496, r=rreitmai). 2009-09-09 11:19:12 -07:00
David Anderson
22a1120a3e Added LIR helpers for x64 code generation (bug 514532, r=edwsmith). 2009-09-09 11:15:48 -07:00
David Anderson
01362958c6 Added LIR_ldcb and LIR_ldcs to x64 backend (bug 514586, r=rreitmai). 2009-09-09 10:58:24 -07:00
danderson@mozilla.com
b29acb6983 Fix asm_ret on ARM (515290, r=gal,vlad). 2009-09-08 20:23:53 -07:00
Nicholas Nethercote
21dbf49f8b Bug 515138 - TM/nanojit: merge the two StackFilter passes. r=gal. 2009-09-09 11:48:30 +10:00
Julian Seward
cf806f6974 Bug 513407 - NJ: fold out (x == y) ? x : y and (y == x) ? x : y. r=gal. 2009-09-09 10:25:16 +10:00
Nicholas Nethercote
6ee8551d7d Bug 512824 - TM: gcc complains about invalid aliasing in LIR.h. r=gal. 2009-09-09 09:18:41 +10:00
Nicholas Nethercote
65a88a5c2c Bug 514625 - nanojit: kill AR::highwatermark. r=edwsmith. 2009-09-08 09:11:53 +10:00
David Anderson
0650a2788b LIR sanity checker from tamarin-redux (bug 514503, r=gal,edwsmith). 2009-09-04 17:56:22 -07:00
David Anderson
6e929c1385 Fixed codeAlloc misuse in x64 backend (bug 513842 followup, r=gal). 2009-09-04 14:50:16 -07:00
Nicholas Nethercote
02a5869681 Bug 512646 - nanojit: remove RegAlloc::{count,checkCount(),countFree()}. r=edwsmith. 2009-09-04 15:58:10 +10:00
David Anderson
19e6272d43 Implemented side exits in the x64 backend, and merged in tamarin-redux changes (bug 514537, r=gal). 2009-09-03 19:12:47 -07:00
Nicholas Nethercote
ea4545c24a Follow-up to bug 513843. r=gal (via IRC). 2009-09-04 11:07:36 +10:00
Andreas Gal
0564bbf1e0 Compilation fix for NativeARM.cpp (LIR_call was renamed to LIR_icall, r=dvander). 2009-09-03 17:54:48 -07:00
Nicholas Nethercote
a27675d43a Bug 513831 - nanojit: some regalloc comments, etc. r=edwsmith. 2009-09-04 09:18:01 +10:00
Andreas Gal
6771d193dd Introduce a register fence instruction to force all registers to be spilled (514374, r=edwsmith,rreitmai). 2009-09-03 14:43:30 -07:00
Andreas Gal
026f651d69 Incorrect register hint for LIR_param for 386 backend (514344, r=njn). 2009-09-02 21:09:34 -07:00
Nicholas Nethercote
0abd6c54da Bug 511051 - TM/nanojit: use NULL as the condition for unconditional guards, again. r=gal. 2009-09-03 13:06:31 +10:00
Nicholas Nethercote
5adc17c6a5 Bug 514110 - nanojit: avoid getresv() because it has a redundant test. r=gal. 2009-09-03 09:36:51 +10:00
Nicholas Nethercote
320a2cfb64 Backed out changeset 48928150aa27 due to Tinderbox breakage. 2009-09-02 12:14:09 +10:00
Nicholas Nethercote
85c5abe0a7 Bug 513865 - nanojit: make LirReader::read() clearer and faster. r=gal. 2009-09-02 10:20:28 +10:00
Andreas Gal
f6ce0dc81e Register allocate loop-spanning references (513843, r=rreitmai). 2009-09-01 16:30:51 -07:00
Andreas Gal
fadffac705 Make branchStateMap, patches, and labels fields of the Assembler (513884, r=rreitmai). 2009-09-01 15:27:34 -07:00
David Anderson
21466cd521 Added LIR_float to distinguish NULL from 0.0 on x64 (bug 513838, r=gal,rreitmai). 2009-09-01 14:26:24 -07:00
Nicholas Nethercote
84f6367d69 Bug 512614 - nanojit: remove FST1..FST7 from Nativei386.cpp. r=edwsmith. 2009-09-01 16:55:15 +10:00
Nicholas Nethercote
7f3df7efb0 Bug 512423 - nanojit: inline small RegAlloc methods. r=edwsmith. 2009-09-01 16:03:01 +10:00
David Anderson
66b35f24b6 Use newer codeAlloc() in x64 backend (bug 513842, r=gal). 2009-08-31 19:57:32 -07:00
Andreas Gal
42daf230a5 Compilation fix for bug 513787. 2009-08-31 17:02:16 -07:00
Andreas Gal
292f7e316d Don't restore FP twice when exiting a fragment (513787, r=rreitmai). 2009-08-31 16:35:50 -07:00
David Anderson
a33078ac37 Merge Assembler::disp() changes from tamarin-redux, always use 4-byte granularity (bug 513796, r=gal). 2009-08-31 16:14:22 -07:00
Andreas Gal
2b192c3c31 Use asm_ret to emit code for LIR_ret and LIR_fret (513771, r=dvander). 2009-08-31 15:01:41 -07:00
Nicholas Nethercote
686dcb25be Bug 512610 - nanojit: some register allocation clean-ups. r=edwsmith. 2009-08-31 15:33:46 +10:00
Nicholas Nethercote
e7fbdc867c Bug 512398 - nanojit: kill RegAlloc::used. r=edwsmith. 2009-08-31 15:02:08 +10:00
Leon Sha<leon.sha@sun.com>
6c708d7ac4 Bug 513211 - [tracemonkey]trace-test testBug504520Harder.js failed on sparc platform. r=gal. 2009-08-31 12:12:38 +08:00
Leon Sha<leon.sha@sun.com>
df159dfdb0 Bug 512433 - tracemonkey build failed at NativeSparc.cpp. r=gal. 2009-08-31 12:04:25 +08:00
Nicholas Nethercote
6c0c4d9616 Bug 512652 - TM: refactor Assembler::evict(). r=edwsmith. 2009-08-31 11:48:21 +10:00
Jason Orendorff
235e72bc0c Bug 513429 - Say "int" and "quad" in debug output for those LIR opcodes. r=edwsmith.
--HG--
extra : rebase_source : 0d9b017c0f4dbe7cd7c0f3dad27a3bee80eaa276
2009-08-30 11:36:48 -04:00
Andreas Gal
64b13a5ec6 Remove useless FASTCALL declarations and make hashcode and equals less branchy (513539, r=dvander). 2009-08-30 00:11:12 -07:00
Andreas Gal
84094cb9d0 Remove remainder of now unused LIR_loop support code (513535, r=dvander). 2009-08-29 23:26:54 -07:00
Andreas Gal
706e1e3bd3 Remove unused hasLoop flag (513263, r=graydon). 2009-08-28 14:38:09 -07:00
Andreas Gal
14813a11f4 Remove some TM-only fields from nanojit (513187, r=dvander). 2009-08-28 14:36:37 -07:00
Nicholas Nethercote
3c773f1b39 Bug 512640 follow-up: remove a stray debugging printf. 2009-08-28 15:23:14 +10:00
Nicholas Nethercote
2bb3987d6f Bug 512640 - nanojit: refactor Assembler::findRegFor(). r=edwsmith. 2009-08-28 14:59:52 +10:00
Andreas Gal
317b5f2e3a Remove explicitSavedRegs and loop hacks from nanojit (513139, r=dvander). 2009-08-27 18:46:45 -07:00
Graydon Hoare
5b06cc0665 Bug 510602 - Massage LIR opcodes to merge state, r=dvander. 2009-08-27 17:52:46 -07:00
David Anderson
67d863503e Merged Assembler.h!nRegisterAllocFromSet changes from tamarin-redux (bug 513083, r=gal). 2009-08-27 13:50:30 -07:00
David Anderson
c04fa74537 Merged Assembler.h!nPatchBranch changes from tamarin-redux (bug 513079, r=gal). 2009-08-27 13:47:39 -07:00
David Anderson
83d28f8a00 Merged LIR_alloc changes from tamarin-redux (bug 513069, r=gal). 2009-08-27 13:22:30 -07:00
David Anderson
a43dd7468a Fixed Containers.h!murmurhash not compiling on x64 (bug 512797, r=graydon). 2009-08-27 12:48:52 -07:00
David Anderson
32cdaad163 Merged 64-bit arithmetic ops from tamarin-redux (bug 512836, r=gal). 2009-08-26 17:14:18 -07:00
David Anderson
83fc2d7e10 Merge 64-bit comparison opcodes from tamarin-redux (bug 512826, r=gal). 2009-08-26 16:30:23 -07:00
Robert Sayre
2b65c06912 Merge mozilla-central to tracemonkey. 2009-08-26 13:09:40 -07:00
Graydon Hoare
12b7a6e203 Provide missing ARM defines, fix tinderbox, r=me.
--HG--
extra : rebase_source : 8c2e414874c5da5db61db9d0ecc7feec35e5227f
2009-08-25 16:39:13 -07:00
Graydon Hoare
8c36a6157c Bug 512366 - insert some missing assembler bits, r=dvander. 2009-08-24 16:57:25 -07:00
Jacob Bramley
a3ca948c53 Bug 507117 - Merge Tamarin NativeARM changes into TraceMonkey, r=graydon.
--HG--
extra : rebase_source : f374bb29ae56dbff12da60d200868fa4f1e2b4fa
2009-08-24 15:57:55 -07:00
Edwin Smith
10163c0cd1 Bug 507042 - class BitSet doesn't need GC support, r=dvander.
--HG--
extra : rebase_source : ad1835e60e926a8cdb570711b9deec0e1c40ead1
2009-07-08 16:21:55 -04:00
Edwin Smith
2c7e0812af Bug 507039 - Remove _startingIns from Assembler, r=nnethercote.
--HG--
extra : rebase_source : f4f5451a94fa60bb8059688bd64a6638e69a32c7
2009-07-23 13:46:44 -04:00
Edwin Smith
59e1ebda37 Bug 507036 - Move valgrind icache-flush notification to CodeAlloc, r=dvander.
--HG--
extra : rebase_source : 7815a2cd0699aff603e96bb05eae04c27d504578
2009-07-23 11:55:57 -04:00
Edwin Smith
e299aec675 Bug 507031 - Replace use of avmplus:String with Allocator and char* in nanojit::LabelMap and LirNameMap, r=dvander.
--HG--
extra : rebase_source : 3c59dc7bff1ece5ac282da9b0cb8820674345684
2009-07-15 12:34:17 -04:00
Graydon Hoare
b8154cc364 Bug 504462 - Merge tamarin's CodeAlloc into tracemonkey, r=gal. 2009-07-15 16:50:01 -07:00
Jacek Caban
5da4c824d2 Bug 505123 - js3250.dll linking fails on MinGW on fastcall inline functions, a=jacek, r=graydon. 2009-08-06 13:40:05 -07:00
Nicholas Nethercote
f71d930576 Bug 507528 - TM/nanojit: add indirect call code to the core and x86 back-end. r=rreitmai. 2009-08-03 08:54:02 +10:00
Graydon Hoare
2e92fcbbe3 Backed out changeset d0be9284ea67 2009-07-30 14:28:26 -07:00
Graydon Hoare
ef5f70907e Backed out changeset fc66e3f4afc9 2009-07-30 14:27:10 -07:00
Graydon Hoare
3b0d6c1a97 Backed out changeset 4bddf07c409e 2009-07-30 14:26:15 -07:00
Graydon Hoare
998a2e55b1 Backed out changeset 137cbe3c46a9 2009-07-30 14:25:03 -07:00
Graydon Hoare
402e209fc1 Backed out changeset 83f39b3e8b10 2009-07-30 14:23:35 -07:00
Graydon Hoare
b1632ff303 Backed out changeset 3853806a58df 2009-07-30 14:21:19 -07:00
Graydon Hoare
8017a66d3d Bug 507302 - more whitespace fixes, r=nnethercote. 2009-07-29 16:21:40 -07:00
Edwin Smith
1e964d04a7 Bug 507042 - class BitSet doesn't need GC support, r=dvander. 2009-07-08 16:21:55 -04:00
Edwin Smith
da15262810 Bug 507039 - Remove _startingIns from Assembler, r=nnethercote. 2009-07-23 13:46:44 -04:00
Edwin Smith
8441271ced Bug 507036 - Move valgrind icache-flush notification to CodeAlloc, r=dvander. 2009-07-23 11:55:57 -04:00
Edwin Smith
4179e603b3 Bug 507031 - Replace use of avmplus:String with Allocator and char* in nanojit::LabelMap and LirNameMap, r=dvander. 2009-07-15 12:34:17 -04:00
Graydon Hoare
caf3859643 Bug 504462 - Merge tamarin's CodeAlloc into tracemonkey, r=gal. 2009-07-15 16:50:01 -07:00
Nicholas Nethercote
9453269258 Fix ARM bustage caused by b05e0eaa4686. 2009-07-30 11:10:45 +10:00
Nicholas Nethercote
93a1b3630d Bug 507087 - TM/nanojit: change _argtypes fields from 2 bits to 3 bits (TR sync). r=rreitmai,jorendorff. 2009-07-30 10:44:34 +10:00
wes@page.ca
c3ce4be6d6 Bug 504594 - Addresses in nanojit-debug output are wrong on SPARC. r=graydon. 2009-07-27 12:40:59 +08:00
Nicholas Nethercote
e33eb5cd4f Bug 506346 - nanojit: remove compile warnings caused by the patch for bug 506139. r=rreitmai. 2009-07-27 10:34:44 +10:00
Andreas Gal
7c40de183a Bug 501275 - TM: Crash [@ nanojit::Assembler::nPatchBranch]. r=dvander 2009-07-26 20:28:46 -04:00
Nicholas Nethercote
a590e2793e Bug 495158 - nanojit: add comment about CSEability of guards. r=edwsmith. 2009-07-24 16:19:15 +10:00
Nicholas Nethercote
d5dbe8400a Bug 506177 - TM/nanojit: remove dead 'isfar' argument from asm_branch(). r=rreitmai. 2009-07-24 15:41:32 +10:00
Nicholas Nethercote
8aeefe7a20 Bug 506139 - TM/nanojit: merge TR whitespace changes in the i386 backend. r=rreitmai. 2009-07-24 10:02:22 +10:00
Robert Sayre
a181aec2ed Merge mozilla-central to tracemonkey. 2009-07-23 16:49:14 -04:00
Leon Sha<leon.sha@sun.com>
87605bbcec Bug 504043 - Firefox will crash on sparc platform when some website. Last checkin is not up to date. r=gal. 2009-07-22 17:44:28 +08:00
Leon Sha<leon.sha@sun.com>
c18cfc0b33 Bug 505416 - http://www.usatoday.com/ crash on sparc. r=gal 2009-07-22 17:28:33 +08:00
Leon Sha<leon.sha@sun.com>
8f74f5cc07 Bug 504043 - Firefox will crash on sparc platform when some website. r=gal 2009-07-22 17:06:23 +08:00
Nicholas Nethercote
a8cd3ba765 Bug 504705 - TM/nanojit: use NULL as the condition for unconditional guards (2nd attempt). r=gal. 2009-07-22 14:54:41 +10:00
Nicholas Nethercote
c414a79e4f Bug 501232 - nanojit: remove LIR_2 (3rd attempt!). r=edwsmith,gal. 2009-07-22 10:28:25 +10:00
David Mandelin
ae3b1ce36c Bug 505314: don't use LIR_ialloc with size 0, r=gal 2009-07-21 12:14:33 -07:00
Leon Sha<leon.sha@sun.com>
8d0ba6e2ec Bug 504043 - Firefox will crash on sparc platform when some website. Last checkin is not up to date. r=gal. 2009-07-22 17:45:41 +08:00
Leon Sha<leon.sha@sun.com>
10e00c97c5 Bug 505416 - http://www.usatoday.com/ crash on sparc. r=gal 2009-07-22 17:34:28 +08:00
Leon Sha<leon.sha@sun.com>
130b687fd4 Bug 504043 - Firefox will crash on sparc platform when some website. r=gal 2009-07-22 17:15:39 +08:00
Andreas Gal
2c91620976 Merge. 2009-07-20 14:18:31 -07:00
Andreas Gal
9f57d1a918 Backed out changeset 8877e1f8645b (bug 501232). 2009-07-20 14:18:17 -07:00
Andreas Gal
83790e006a Merge. 2009-07-20 14:06:39 -07:00
Andreas Gal
cb9a549160 Backed out changeset 692e8a1325f8 (bug 504705). Crashes with TMFLAGS=full on browser startup. 2009-07-20 13:58:00 -07:00
Jacob Bramley
00bf423543 Backing out a broken part of 99dfb2001094. (no bug) 2009-07-20 11:34:34 +01:00
Jacob Bramley
b5faafb00f Use ARM's 'Operand 2' encoding for immediates. Also fixes bug 504637. (490968, r=vladimir) 2009-07-20 10:56:44 +01:00
Robert Sayre
375d2b5374 Merge tracemonkey to mozilla-central for backouts. 2009-07-21 00:57:41 -04:00
Robert Sayre
0e8682e7ec Merge tracemonkey to mozilla-central. 2009-07-20 11:18:04 -04:00
Vladimir Vukicevic
00f4cda14b b=471585; [arm] jit crash on expedia.com; r=gal 2009-07-17 16:03:59 -07:00
Nicholas Nethercote
52ab095147 Bug 501232 - nanojit: remove LIR_2. r=edwsmith. 2009-07-17 16:25:18 +10:00
Nicholas Nethercote
dabda589bf Bug 504705 - TM/nanojit: use NULL as the condition for unconditional guards. r=gal. 2009-07-17 11:14:01 +10:00
Luke Wagner
0c16520e8b Bug 406271: add quantifier support for regexp->native compiler, r=dmandelin 2009-07-16 17:17:35 -07:00
Nicholas Nethercote
d2f31c8fbd Bug 504465 - NJ: Move GC classes to namespace MMgc, r=graydon. 2009-07-16 11:50:27 -07:00
Robert Sayre
53d13821c6 Merge mozilla-central to tracemonkey. 2009-07-16 11:46:05 -04:00
Neil Rashbrook
7d7253ddaa Bug 501609 Make js/src build with VC7.1 r=graydon 2009-07-15 20:31:26 +01:00
Nicholas Nethercote
acc2840ef2 Bug 504213: nanojit: rename LIR_alloc, LIR_addp, LIR_param to match tamarin-redux. r=graydon. 2009-07-15 10:00:43 +10:00
Nicholas Nethercote
6eb09ec1ad Bug 504208: fix LInsHashSet::equals(). r=graydon. 2009-07-15 09:54:17 +10:00
Peter Van der Beken
c318fcd5ad Backed out changeset c5433450795f (Bug 503990: make isStmt() table-driven.) 2009-07-14 11:23:07 +02:00
Peter Van der Beken
c4e9e647fb Backed out changeset c5433450795f (Bug 503990: make isStmt() table-driven). 2009-07-14 11:22:41 +02:00
wes@page.ca
da15c8675f Bug 494864 - make nanojit debug output easier to follow. Sparc Changes. NPOTB code. r=graydon 2009-07-14 12:58:18 +08:00
Nicholas Nethercote
1704e7aacf Bug 503990: make isStmt() table-driven. r=gal. 2009-07-14 13:08:38 +10:00
Julian Seward
b9dc1bb9d6 Bug 496693 - NJ: comment and refactor DeadCodeFilter vs Assembler::gen interactions, r=edwsmith.
--HG--
extra : rebase_source : e675f824946d4a8bb83b2aed8ff1911c8b23caee
2009-07-13 11:50:42 -07:00
Robert Sayre
247b1e3f5d Merge mozilla-central to tracemonkey. 2009-07-11 23:46:16 -04:00
Graydon Hoare
e404f743cd Bug 503593 - NJ: whitespace and modeline cleanup, r=gal.
--HG--
extra : rebase_source : c7fcc1acaadb2264796a3ee7a20866eecc4dc484
2009-07-10 12:58:34 -07:00