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
Graydon Hoare
203d645160
Bug 503437 - NJ: Commit missing CodeAlloc and NativePPC files from Adobe, r=gal.
...
--HG--
extra : rebase_source : 51a1d5fdc3c8ce0492f5986612a06858f2c4a5da
2009-07-10 11:21:53 -07:00
Vladimir Vukicevic
c7416c8257
b=503570, [arm] jit crash with illegal instruction; r=gal
2009-07-16 21:05:29 -07:00
Nicholas Nethercote
9360d761e7
Bug 499605: localize _labels, _patches and pending_lives in Assembler. r=edwsmith.
2009-07-09 08:54:31 +10:00
Nicholas Nethercote
ae95b81b57
Bug 502788: avoid many redundant NULL comparisons in the LirReader pipeline. r=edwsmith.
2009-07-09 08:34:22 +10:00
Graydon Hoare
e46aedbb11
Bug 502953 - Remove dead TraceTreeDrawer, r=dvander.
2009-07-07 15:31:03 -07:00
Leon Sha<leon.sha@sun.com>
db53a19dda
Bug 502584. Firefox will crash when visiting www.hp.com on sparc platform. r=gal. NPOTB code
2009-07-07 14:16:35 +08:00
Nicholas Nethercote
1787bb1105
Trivial fix for a TMFILES=liveness debug output assertion failure.
2009-07-07 15:25:50 +10:00
Nicholas Nethercote
b23341dd32
Fix compile breakage on optimized builds caused by my last commit.
2009-07-07 09:49:55 +10:00
Nicholas Nethercote
ab0511054e
Bug 502539: move displacements into load instructions. r=gal,edwsmith.
2009-07-07 09:26:12 +10:00
Andreas Gal
0324bd664d
Cleanup alignment cast for jump tables (502242, r=jwalden).
2009-07-03 16:55:22 -07:00
Nicholas Nethercote
a87c89d0ef
Bug 493125 - remove LIR_cs. r=edwsmith.
2009-07-02 12:21:28 +10:00
Nicholas Nethercote
5842226e62
Bug 492866: implement variable-width LIR. r=graydon.
2009-07-01 14:18:55 +10:00
Nicholas Nethercote
8de6422b09
Backed out changeset ae16e5919d19 (tree was closed for talos maintenance).
2009-07-01 11:33:54 +10:00
Nicholas Nethercote
4af0dc60ae
Make LIR variable-width (bug 492866, r=graydon).
2009-07-01 11:13:22 +10:00
Nicholas Nethercote
1e84e68309
Remove dead setCallTable() declaration (bug 488515, r=gal).
2009-06-30 14:55:44 +10:00
Andreas Gal
8196259ca6
clearResv() is i->resv()->clear() now (501072, r=graydon).
2009-06-29 13:23:06 -07:00
Julian Seward
b96eed42da
Bug 494864 - Make nanojit debug output easier to follow, r=graydon.
2009-06-24 20:32:00 -07:00
Jacob Bramley
47c7c77223
Remove the BL method from the ARM nanojit back-end as it is no longer used. (487607, r=vladimir)
2009-06-24 15:57:17 +01:00
Jacob Bramley
e91a29b36f
Use BLX to provide ARM/Thumb interworking support on ARM. (486639, r=vladimir)
2009-06-24 15:54:35 +01:00
Jacob Bramley
f960ac522c
Correct some corner cases in the branch patching code for ARM. (486325, r=vladimir)
2009-06-24 15:26:07 +01:00
Jacob Bramley
e5b587147f
Improve exit code efficiency on ARM. (491678, r=vladimir)
2009-06-24 08:17:44 +01:00
Andreas Gal
791b4c9a77
Backed out changeset 55a8910d8436 (no consensus whether patch should be applied, bug 499664).
2009-06-23 15:50:23 -07:00
Andreas Gal
5786928320
Eliminate 64-bit LIR_callh hack (499664, r=dvander).
2009-06-23 15:11:49 -07:00
Andreas Gal
f3194e9335
Move details of LIns format into LIns class itself (500053, r=dvander).
2009-06-23 14:51:15 -07:00
Jacob Bramley
a0fdb46274
Don't use ARM's MOVW and MOVT instructions to write to the PC. (487595, r=vladimir)
2009-06-23 11:13:54 +01:00
Jacob Bramley
92fa4891a8
Clean up ARM's SET macro and correct a few condition codes. (488845, r=vladimir)
2009-06-23 11:12:22 +01:00
Jacob Bramley
4bc4cb2c09
Clean up asm_branch and correct the use of condition flags on VFP conditions. (489583, r=vladimir)
2009-06-23 10:36:36 +01:00
Jacob Bramley
257161448b
Fix crash on ARM caused by spilling registers in asm_mmq. (495239, r=vladimir) Follow-up: Reveals (or creates) some failures documented in bug 499889.
2009-06-23 09:36:53 +01:00
Nicholas Nethercote
7595f38896
Remove unused field 'parent' from class LabelMap (bug 499400, r=gal).
2009-06-23 14:11:09 +10:00
Nicholas Nethercote
ae3ac6a734
Remove unused isCse() and LirBuffer() args (bug 499260, r=edwsmith).
2009-06-22 14:48:16 +10:00
Nicholas Nethercote
a5db26a0e2
Fix assertion failure in trace-test.js with TRACEMONKEY=verbose (bug 499154, r=graydon).
2009-06-22 10:48:36 +10:00
nnethercote@mozilla.com
015cf5504c
remove LIR_calli and LIR_fcalli (492478, r=edwsmith,jorendorff).
2009-06-19 10:20:26 +01:00
Andreas Gal
887e6a5f47
Remove NativeThumb.cpp (bug 486535, hg totally sucks).
2009-06-19 09:47:16 +01:00
Jacob.Bramley@arm.com
4b490c9a33
Remove remaining obsolete ARM Thumb code (486535, r=gal).
2009-06-19 09:45:52 +01:00
Andreas Gal
ac13e56ffd
Backed out changeset 1b5584a4eba4. Accidentally committed some unreviewed changes.
2009-06-19 09:42:34 +01:00
Jacob.Bramley@arm.com
7ecc26f135
Remove remaining obsolete ARM Thumb code (486535, r=gal).
2009-06-19 09:37:38 +01:00
Nicholas Nethercote
c4b939cd8f
Bug 494639 - NJ: fix numerous LIR memory management problems, r=graydon
2009-06-16 14:01:31 -07:00
Vladimir Vukicevic
a678e18942
b=503205; [arm] stop hitting bogus assertion in nPatchBranch; r=crashy
2009-07-08 16:46:57 -07:00
Nicholas Nethercote
de28e96de9
NJ: fix load opcode checking, r=graydon.
2009-06-15 12:04:06 -07:00
Andreas Gal
213c5e12a5
Remove obsolete ARM/Thumb code (no bug).
2009-06-13 20:05:28 -05:00
Andreas Gal
e53b949cbf
Cleanup expression filter in LIR.cpp (497935, r=edwsmith).
2009-06-13 18:04:08 -05:00
Graydon Hoare
6a44d94f4f
Bug 484142 - Standalone LIR assembler, r=jorendorff.
2009-06-12 11:33:08 -07:00
Andreas Gal
659a7a9b6c
Implement oracle-based speculative fmod/fdiv/fmul demotion (474443, r=graydon,dvander).
2009-06-12 08:33:32 -07:00
Andreas Gal
a0182c819c
Correctly disable conditional moves on platforms that do not support them (497455, r=graydon).
2009-06-10 15:21:10 -07:00
Leon Sha
b5dce5822e
Bug 510451 Build failed on solaris after merge tamarin's CodeAlloc(bug 504462). r=gal
2009-08-14 18:07:28 +08:00
ikezoe@clear-code.com
2e4dab02a1
LIns::isOp2() lacks qjoin (496851, r=gal,edwsmith).
2009-06-08 15:04:19 -07:00
Nicholas Nethercote
96dd8702a9
Bug 495028. nanojit: add opcode checks to all LIR get/set methods. r=edwsmith
2009-06-06 12:58:11 -04:00
Andreas Gal
c70c0c7270
Bug 495396 - TM: missing early return in Nativei386 when generating LEA. r=edwsmith
2009-06-01 16:24:59 -04:00
Julian Seward
a61d112402
Bug 494157 - nanojit debug output uses inconsistent output channels. r=jorendorff.
2009-05-26 13:14:41 -05:00
Andreas Gal
3f8dfa9e52
LIR_alloc doesn't get emitted correctly for stack args on ARM (494510, r=vlad).
2009-05-22 16:44:18 -07:00
Graydon Hoare
e4863bdb1c
Bug 494084 - TM: Lower maximum LIR skip size further, r=gal.
2009-05-21 18:44:37 -07:00
Graydon Hoare
daefd27739
Bug 493821 - NJ: Minimal fix to sign-extension in imm64, r=gal.
2009-05-19 22:01:24 -07:00
Graydon Hoare
606ab3ebdf
Backout alignment-breaking patches for Bug 493821.
2009-05-19 20:26:31 -07:00
Graydon Hoare
4298aed9d3
Bug 493821 - Followup to ARM and SPARC native backends, to handle renaming, r=gal.
2009-05-19 18:42:11 -07:00
Andreas Gal
41689550b8
Bug 493821 - NJ: Fix sign-extension in imm64, r=graydon.
2009-05-19 18:27:01 -07:00
Robert Sayre
80463b40a5
Backout last cset. Bug 487607 is not ready yet.
2009-05-18 12:36:02 -04:00
Jacob Bramely
fe2103fafc
Bug 487607 - TraceMonkey: The ARM-specific Assembler::BL method is never called. r=vlad
2009-05-18 12:23:18 -04:00
Nicholas Nethercote
c0f23c4e08
Bug 492491 - nanojit: convert some error() tests to asserts. r=edwsmith
2009-05-18 02:27:12 -04:00
Nicholas Nethercote
a03f3e7b1a
Bug 492490 - nanojit: move Assembler::findVictim() from RegAlloc.cpp to Assembler.cpp
2009-05-18 02:20:59 -04:00
Nicholas Nethercote
90746fda0d
Bug 490947 - nanojit: remove reservation table. r=gal,edwsmith
2009-05-18 02:15:24 -04:00
Nicholas Nethercote
6c4c7621f3
Bug 492488 - nanojit: improve handling of 64-bit constants. r=graydon
2009-05-18 01:56:25 -04:00
Nicholas Nethercote
1a33faa263
Bug 492301 - nanojit: remove some dead code. r=edwsmith
2009-05-18 01:45:46 -04:00
Nicholas Nethercote
9581ac0331
Bug 492292 - nanojit: remove duplicated LIns predicates. r=edwsmith
2009-05-18 01:38:00 -04:00
Jacob Bramley
7992b7231d
Bug 490838 - TraceMonkey: Improve epilogue efficiency for ARM. r=vlad
2009-05-18 01:32:10 -04:00
Vladimir Vukicevic
f4c9d8c915
b=490296; small fixup to asm_ldr_chk -- we can do PC-relative loads as long as the offset fits in U12; r=me
2009-05-17 12:20:09 -07:00
Jacob Bramley
130a761607
b=490296; [arm] tidy misc insn generation macros; r=vlad
2009-05-17 12:11:53 -07:00
Jacob Bramley
65538201e1
b=490296; [arm] tidy ::asm_ld_imm; r=vlad
2009-05-17 12:03:33 -07:00
Jacob Bramley
297550a6e9
Bug 490296. Tidy ::asm_fop (v2). r=vlad.
2009-05-15 14:50:53 -04:00
Jacob Bramley
8533fc53a7
Bug 490296. Tidy ::asm_ldr_chk (v2). r=vlad.
2009-05-15 14:50:00 -04:00
Jacob Bramley
8b3e87f22c
Bug 490296. Tidy ::asm_prep_fcall. r=vlad.
2009-05-15 14:49:10 -04:00
Jacob Bramley
03cebed3e5
Bug 490296. Tidy ::LD32_nochk. r=vlad.
2009-05-15 14:45:42 -04:00
Jacob Bramley
e2556dd40e
Bug 490296. Tidy ::asm_quad. r=vlad.
2009-05-15 14:44:39 -04:00
Jacob Bramley
acbae2432b
Tidy ::asm_load64. r=vlad.
2009-05-15 14:36:58 -04:00
Jacob Bramley
c2e202b6a4
Tidy ::asm_restore. r=vlad.
2009-05-15 14:35:47 -04:00
Jacob Bramley
1631cdbafa
Bug 490296. Tidy ::asm_nongp_copy. r=vlad
2009-05-12 12:02:00 -04:00
Leon Sha<leon.sha@sun.com>
0c71462fb6
Bug 488775 - TM: widen LIR instructions. Sparc Changes. r=gal. remove dead codes
2009-05-12 11:43:57 +08:00
Leon Sha<leon.sha@sun.com>
2e31f66b15
Bug 488775 - TM: widen LIR instructions. Sparc Changes. r=gal.
2009-05-12 10:41:25 +08:00
Jacob Bramley
c942893875
Bug 483962 - Remove ARM-specific code from jstracer.cpp. r=vlad
2009-05-11 12:16:01 -04:00
Jacob Bramley
d7dc2e67bf
Bug 487416 - TraceMonkey: Improve run-time detection of ARM processor features. r=vlad
2009-05-09 16:14:38 -04:00
Jacob Bramley
7dd0b8fd55
Bug 486669 - TraceMonkey: The ARM-specific _nSlot pointer should be reset along with _nIns. r=vlad,edwsmith
2009-05-09 15:35:56 -04:00
Jacob Bramley
150373e22b
Bug 486096 - TraceMonkey: ARM BKPT instructions are not properly encoded. r=vlad
2009-05-09 15:32:29 -04:00
Nicholas Nethercote
9df38f0476
Bug 488775 - TM: widen LIR instructions. r=graydon,edwsmith
2009-05-09 14:38:34 -04:00
Graydon Hoare
ed4b20f51c
Bug 491514 - Followup, change from sizeof(LIns*) to sizeof(LIns), r=gal.
2009-05-06 17:41:52 -07:00
Andreas Gal
79f3ebed61
We don't constant fold math on doubles and ints (465286, r=edwsmith).
2009-05-06 16:48:41 -07:00
Graydon Hoare
cb7f2307ba
Bug 491514 - Lower skip limit in tracer, r=gal.
2009-05-06 15:19:50 -07:00
Leon Sha<leon.sha@sun.com>
b8845d61de
Bug 488639 - SPARC jit: testIntOverflow, testIntUnderflow failed. r=gal.
2009-04-22 16:06:45 +08:00
Jeff Walden
c9680230c4
Bug 473117 - Rejigger how guards use side exits, and fix an erroneous comment. r=graydon
2009-04-18 16:47:23 -07:00
Andreas Gal
2866c6d091
Remove amd64 code (will be replaced with tamarin's new amd64 backend, 487981, r=danderson).
2009-04-13 16:16:10 -07:00
Jacob Bramley
3c4a821492
bug 486675 - always using setError to set _err
2009-04-06 13:32:46 +02:00
Graydon Hoare
5689ffc3f8
Bug 474529 - Avoid artificial OOM conditions, r=gal.
2009-03-31 20:51:01 -07:00
Robert Sayre
d3ae3d827d
Merge mozilla-central to tracemonkey.
2009-03-29 10:42:32 -07:00
Vladimir Vukicevic
eb82870ba4
b=484561; [arm] fix EABI calling convention; clean up asm_call; r=graydon
2009-03-27 14:31:53 -07:00
Vladimir Vukicevic
34105fd15e
b=484561; [arm] fix broken LIR_alloc; r=graydon
2009-03-27 14:29:14 -07:00
Leon Sha<leon.sha@sun.com>
f4ef4d5b44
Bug 502584. Firefox will crash when visiting www.hp.com on sparc platform. r=gal. NPOTB code
2009-07-07 14:27:57 +08:00
Jeff Walden
61e8b53f29
Add a static assertion for another latent LIR opcode numbering constraint. No bug, r=mrbkap
2009-03-24 14:11:14 -07:00
Robert Sayre
150b7d8a28
Merge tracemonkey to mozilla-central.
2009-03-24 13:49:05 -04:00
Jim Blandy
9391012cb0
Bug 479258: Don't define <stdint.h> types in public headers. r=brendan
...
On systems that don't have <stdint.h> (i.e., Microsoft, which is
tragically underfunded and cannot spare the resources necessary to
provide and support this header: http://tinyurl.com/absoh8 ),
SpiderMonkey header files should not introduce definitions for these
types, as doing so may conflict with client code's attempts to provide
its own definitions for these types.
Instead, have jstypes.h define JS{Int,Uint}{8,16,32,64,Ptr} types
based on configure's results, and make jsstdint.h into an uninstalled
header for use within SpiderMonkey that does whatever is necessary to
get definitions for the <stdint.h> types.
The changes to make the appropriate SpiderMonkey .cpp files #include
"jsstdint.h" explicitly are in a separate patch, for ease of review.
2009-03-18 11:38:15 -07:00
Nicholas Nethercote
ea15e54ba4
Bug 475876: change --with-valgrind to --enable-valgrind and add hooks to tell valgrind about the JIT's self-modifying code. r=gal (JIT parts), r=luser (build config parts).
2009-03-05 13:24:03 -08:00
Vladimir Vukicevic
52ab655d24
b=481351; TM ARM crash in js_FastNewObject while logging in to gmail (bad constant-offset load codegen); r=graydon
2009-03-04 22:36:22 -08:00
Hiroyuki Ikezoe
583692b648
b=481291, missing return statements in NativeARM.cpp, r=vlad
2009-03-04 12:32:11 -08:00
Robert Sayre
5bdafd3aba
Merge tm to m-c.
2009-02-28 12:38:33 -05:00
Ginn Chen
db99836469
Bug 476042 Integrate sparc nanojit, fix for LDUB/LDUH, r=gal
2009-02-27 17:17:08 +08:00
Vladimir Vukicevic
a8f8d5c9c7
b=479525; fix nanojit on Windows CE (calling conventions, disable regexp double-char optimization); r=dmandelin
2009-02-26 12:04:37 -08:00
Andreas Gal
1cbf259c3c
Improve blacklisting (479109, r=graydon).
2009-02-25 18:47:22 -08:00
Leon Sha<leon.sha@sun.com>
604e62a813
Bug 476042 - Integrate sparc nanojit intro tracemonkey. Put the flush instruction cache code to the correct place. r=gal
2009-02-24 12:46:27 +08:00
Andreas Gal
d8bfd089e8
Backout 479109. Breaks trace-tests.
2009-02-23 12:29:08 -08:00
Andreas Gal
c36a8ab483
Improve blacklisting algorithm (479109, r=graydon).
2009-02-23 11:31:20 -08:00
Nicholas Nethercote
bf6590048b
Bug 478340 - TM: kill many of the warnings when building 'js'. r=mrbkap
2009-02-19 11:17:31 -08:00
Leon Sha<leon.sha@sun.com>
128a82a274
Bug 476042 - Integrate sparc nanojit intro tracemonkey. r=gal, r=jim.
2009-02-16 10:10:03 +08:00
Blake Kaplan
ddb759753a
Bug 478314 - Improve this error message and the corresponding comment to help future debuggers. r=gal
2009-02-13 14:07:45 -08:00
Graydon Hoare
195e361c59
Bug 477425 - Back out lirbuf-based allocation of fragments and treeinfos, r=gal.
2009-02-11 21:59:57 -08:00
David Mandelin
39b9e72a0c
Bug 475115: LIR_jtbl: jump tables to implement jsop_tableswitch, r=gal,r=edwsmith
2009-02-11 17:40:27 -08:00
Jason Orendorff
0e5b827700
Bug 477052 - Make some nanojit classes initialize their members. r=edwsmith,gal.
...
--HG--
extra : rebase_source : 2f2c77ab6f4d4e373466ef766f0532450af5d370
2009-02-11 18:40:54 -06:00
Andreas Gal
fd4421f8bd
Don't try to align fragment entry with nopl since some processors do not support it (473552, r=graydon).
2009-02-10 17:18:57 -08:00
Jason Orendorff
0fcee1ed9f
Bug 477713 - Allow LIR_ret at end of trace. r=edwsmith.
2009-02-10 13:23:27 -06:00
Graydon Hoare
5a88071db0
Bug 477425 - Fix pathological doubling in Fragmento uncovered by new pressure on lirbuf, r=jorendorff.
2009-02-10 10:08:58 -08:00
Graydon Hoare
d459aeaced
Bug 477425 - Allocate TreeInfo and UnstableExit in LirBuffer, r=gal.
2009-02-09 16:49:25 -08:00
David Mandelin
e38c9322a4
Bug 476560: nanojit assembler needs to clear its state before each compilation, r=gal
2009-02-06 11:59:54 -08:00