Alon Zakai
|
b5a2a33c4a
|
hoist some externals into loops
|
2012-01-01 11:22:12 -08:00 |
Alon Zakai
|
473c61b0ce
|
unset to undo set in utility.js
|
2012-01-01 11:18:11 -08:00 |
Alon Zakai
|
21e67b7887
|
add .ll debugging output option to emcc
|
2012-01-01 11:17:49 -08:00 |
Alon Zakai
|
d1d6cbf870
|
override print() by default, to avoid errors when using the browser print() (print to printer) if it hasn't been overridden. Overriding is now possible through Module.print
|
2011-12-31 17:19:14 -08:00 |
Alon Zakai
|
eceba2944f
|
handle truncation inside ptrtoint when needed, and fix some potential bugs (add proper type to inline mathops with to at the end, and parseInt on bitsLeft in processMathops)
|
2011-12-31 14:57:04 -08:00 |
Alon Zakai
|
8fa566b01a
|
support ptrtoint into i64 in i64 mode 1
|
2011-12-31 13:54:16 -08:00 |
Alon Zakai
|
c3af81d6df
|
simplify shift optimizer and make it safer by not optimizing out >> << combos
|
2011-12-31 11:52:54 -08:00 |
Alon Zakai
|
0823d6c87d
|
fix and enable optimizeShiftsAggressive test
|
2011-12-31 09:41:15 -08:00 |
Alon Zakai
|
8f4be2eb56
|
fix shift optimizer bugs
|
2011-12-31 09:25:40 -08:00 |
Alon Zakai
|
8268b5a015
|
improve shift optimizer tests
|
2011-12-30 20:53:32 -08:00 |
Alon Zakai
|
193225a93b
|
fix bug with optimizing shifts too large for us to be optimizing
|
2011-12-30 19:02:16 -08:00 |
Alon Zakai
|
8608b60d2d
|
makeSetValue debugging stuff, and fix some missing ;'s for makeSetValue
|
2011-12-30 18:30:48 -08:00 |
Alon Zakai
|
2eec25eab1
|
disable optimizeShifts test, we only use the conservative part for now
|
2011-12-30 15:00:23 -08:00 |
Alon Zakai
|
f31705d6bd
|
add optimizeShiftsConservative to emcc
|
2011-12-30 14:59:57 -08:00 |
Alon Zakai
|
2063a3112d
|
add var for new variables in shiftOptimizer, and tweak cost function logic
|
2011-12-30 14:48:47 -08:00 |
Alon Zakai
|
3d9832b751
|
make shift optimizer output more similar to normal output
|
2011-12-29 18:55:41 -08:00 |
Alon Zakai
|
e53ee130a3
|
let shiftOptimizer either replace the original variable, or keep it and add a new shifted variable
|
2011-12-29 17:24:31 -08:00 |
Alon Zakai
|
4f876565ff
|
clean optimizeShifts
|
2011-12-29 15:27:37 -08:00 |
Alon Zakai
|
85436a9cc3
|
work harder to not modify original order of +,+,+ sets in optimizeShifts; improves speed in corrections benchmark
|
2011-12-29 12:41:06 -08:00 |
Alon Zakai
|
ba798003e7
|
tweak optimizeShifts cost function
|
2011-12-29 11:55:16 -08:00 |
Alon Zakai
|
d4bbcb6a28
|
fix bug with optimizeShifts asserting shifted constants can always be simplified
|
2011-12-29 11:03:08 -08:00 |
Alon Zakai
|
fb8bb521a9
|
do not recombine large shifts in optimizeShifts
|
2011-12-28 18:18:32 -08:00 |
Alon Zakai
|
81334dd1aa
|
simplify optimizeShifts
|
2011-12-28 18:14:01 -08:00 |
Alon Zakai
|
5f823d379f
|
fix autodebugger bug with pointers
|
2011-12-28 17:45:09 -08:00 |
Alon Zakai
|
f0d47bd575
|
fix bug in optimizeShifts with not fixing the shift of X = needsShift
|
2011-12-28 17:43:22 -08:00 |
Alon Zakai
|
995e37ebc0
|
ignore string nodes when recombining additions in optimizeShifts
|
2011-12-28 15:51:22 -08:00 |
Alon Zakai
|
f705c72430
|
do not turn shifts into slow additions in optimizeShifts
|
2011-12-28 15:16:59 -08:00 |
Alon Zakai
|
ab12dc1380
|
fix optimizeShifts bug
|
2011-12-28 14:41:46 -08:00 |
Alon Zakai
|
6b83482d32
|
better debug info from emcc
|
2011-12-28 14:41:26 -08:00 |
Alon Zakai
|
d98cbf8aef
|
complete optimizeShifts
|
2011-12-28 13:54:35 -08:00 |
Alon Zakai
|
68ec145d73
|
initial work on optimizeShifts pass in js optimizer
|
2011-12-28 12:04:42 -08:00 |
Alon Zakai
|
970e5bec31
|
improve js optimizer removal of unnecessary |0's
|
2011-12-27 07:17:27 -05:00 |
Alon Zakai
|
17f3cf205d
|
fix for debug printing in emcc
|
2011-12-26 17:54:00 -05:00 |
Alon Zakai
|
858d814861
|
refactor emcc debug saving of intermediates
|
2011-12-26 17:47:36 -05:00 |
Alon Zakai
|
893ff16260
|
refactor js optimizer test
|
2011-12-26 17:41:32 -05:00 |
Alon Zakai
|
6613b8135f
|
add missing srem for i64 mode 1
|
2011-12-26 12:52:21 -05:00 |
Alon Zakai
|
50f622a24d
|
fix newly introduced bug with printing i64s in i64 mode 0
|
2011-12-25 12:17:47 -05:00 |
Alon Zakai
|
2dba1d826d
|
support for %f,%lf in sscanf, and fix a bug with printf
|
2011-12-24 20:41:29 -05:00 |
Alon Zakai
|
f5714fb818
|
disable bsearch test in q1
|
2011-12-23 18:35:19 -08:00 |
Alon Zakai
|
b815c45364
|
emcc debug info
|
2011-12-23 12:32:54 -08:00 |
Alon Zakai
|
4de234f25d
|
clean up and fix js optimizer vacuum and hoister
|
2011-12-23 10:24:40 -08:00 |
Alon Zakai
|
358b3f87e5
|
fix crash when TEMP_DIR not defined in ~/.emscripten
|
2011-12-23 10:23:48 -08:00 |
Alon Zakai
|
15da1e1705
|
js optimizer bug with removing necessary ifs, even though they have empty blocks (they prevent reaching the else)
|
2011-12-22 21:47:11 -08:00 |
Alon Zakai
|
93d966ead4
|
debugging stuff in emcc
|
2011-12-22 21:33:02 -08:00 |
Alon Zakai
|
58f9fb35ab
|
fix some hoisting bugs, including not hoisting inside inner loops
|
2011-12-22 18:41:02 -08:00 |
Alon Zakai
|
6eaf330462
|
better temp dir definition and usage, and more debugging output in emcc
|
2011-12-22 17:59:33 -08:00 |
Alon Zakai
|
9dcd81dcdc
|
make reloop warning appear only exactly when needed
|
2011-12-22 17:02:29 -08:00 |
Alon Zakai
|
cb21f4b606
|
consolidate llvm switch checks to both optimize execution and fix a bug with hoistMultiples
|
2011-12-22 16:10:42 -08:00 |
Alon Zakai
|
aa9985f119
|
refactor vacuum out in js optimizer
|
2011-12-22 16:10:11 -08:00 |
Alon Zakai
|
8f69b282df
|
improve hoister cleanup a little
|
2011-12-22 15:28:17 -08:00 |