Граф коммитов

287 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai aa449f08f0 use -idirafter instead of -I for our system dirs, to allow overriding 2012-01-02 12:44:49 -08:00
Alon Zakai 8950ba2d23 load default settings into Settings on reset 2012-01-02 10:22:12 -08:00
Alon Zakai a914110dac remove __label__ settings in hoisted blocks and if we are sure the label setting is unimportant because the next code after us is not a check for the label 2012-01-01 21:00:34 -08:00
Alon Zakai 22f0f113c7 fix bug in loopOptimizer with not removing all unneeded labels 2012-01-01 16:34:58 -08:00
Alon Zakai 21e67b7887 add .ll debugging output option to emcc 2012-01-01 11:17:49 -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 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 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 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 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 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
Alon Zakai 9c4dcaa0c4 fix hoister bug with ['block'] 2011-12-22 11:50:14 -08:00
Alon Zakai d85a66e494 fix hoistMultiples bug 2011-12-21 22:04:28 -08:00
Alon Zakai 34ced84a7a fix hoistMultiples crash 2011-12-21 17:46:03 -08:00
Alon Zakai 7953c8c6b8 refactoring and fixes for running more tests in new o1 and o2 modes 2011-12-20 18:49:42 -08:00
Alon Zakai 99cac67ecd refactor test system, replace ta2 runs with o1 (-O1 with SAFE_HEAP) and o2 (-O2 without closure) 2011-12-20 16:38:14 -08:00
Alon Zakai 7aee177b50 fix js optimizer bug 2011-12-20 15:19:03 -08:00
Alon Zakai 8060c58d10 hoist multiples into branchings right before them 2011-12-20 11:04:45 -08:00
Alon Zakai 2f3cb58579 better error handling for problems in js optimizer and eliminator 2011-12-19 21:02:44 -08:00
Alon Zakai ca9cbdb7c5 better closure compiler error reporting 2011-12-19 20:35:55 -08:00
Alon Zakai f83532997b finish sanity checks 2011-12-18 14:47:33 -08:00
Alon Zakai 0e8e6a82b7 sanity checks 2011-12-18 11:34:19 -08:00
Alon Zakai a734d2ab17 deprecate emmaken.py and emconfiguren.py 2011-12-18 09:21:57 -08:00
Alon Zakai 56b65a54cb Merge branch 'incoming' 2011-12-18 07:59:06 -08:00
Alon Zakai 832fb4e91a use emcc in structbyval and safe_heap tests 2011-12-17 16:52:17 -08:00
Alon Zakai 0382c236cf fix poppler test 2011-12-17 12:07:44 -08:00
Alon Zakai 6017afb6a1 bitcode checking function 2011-12-17 11:48:34 -08:00