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
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