Branch: refs/heads/master
Home: https://github.com/parrot/parrot
Commit: 85a7952872b1adf1ea00651095dccbdd59485f7b
https://github.com/parrot/parrot/commit/85a7952872b1adf1ea00651095dccbdd59485f7b
Author: Reini Urban <[email protected]>
Date: 2014-02-27 (Thu, 27 Feb 2014)
Changed paths:
M compilers/imcc/debug.c
M compilers/imcc/optimizer.c
M compilers/imcc/parser_util.c
Log Message:
-----------
[imcc] micro optimizations
ask for DEBUG_OPT1 & imcc->debug before doing 3 calls
inline imcc_vfprintf
Commit: 2ac3fbf6f03db4e93e9bcabbe43dc1311d9bec56
https://github.com/parrot/parrot/commit/2ac3fbf6f03db4e93e9bcabbe43dc1311d9bec56
Author: Reini Urban <[email protected]>
Date: 2014-02-27 (Thu, 27 Feb 2014)
Changed paths:
M ChangeLog
M compilers/imcc/optimizer.c
M t/op/calling.t
M t/pmc/nci.t
Log Message:
-----------
[immc] Fixed -O1. Special-case get_global for branch_cond_loop_swap [GH #1037]
See https://github.com/parrot/parrot/issues/1037 for the nci problem.
I couldn't see any logical problem with the attempted optimization
add I0,1 vs inc I0 tested ok.
just a get_global_p with if_p_ic P4,out converted to unless_p_ic P4,loop
was problematic, so we skip optimizing such loops.
get_global has no type attached, so we need to STREQ
added a IMCC_debug DEBUG_OPT1 notice for this case.
Compare: https://github.com/parrot/parrot/compare/4c4858f28628...2ac3fbf6f03d_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits