New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix remaining -O1 tests: t/pmc/nci: 39, 41, 44-45 #1037
Comments
It is doing a ./pbc_disassemble -b pure pbc vs -O1 pbc =>
|
mark the 4 failing -O1 nci tests as TODO
branch_cond_loop_swap essentially converts in t/pmc/nci_39.pir
to
This optimization looks good to me. I fail to see the problem, which seems to be nci specific. |
#1037] See #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.
-O1 benchmarks / time make test vs make testO1 this includes the longer compile times:
without compile-time:
perl t/harness --gc-debug --runcore-tests perl t/harness --gc-debug -O1 --runcore-tests perl t/harness -f --runcore-tests perl t/harness -f -O1 --runcore-tests perl t/harness -f -O2 --runcore-tests # with lot of SEGVs |
rakudo should be able to use at least -O1 safely.
-O2 would be even better, but they do their own optimizations.
The text was updated successfully, but these errors were encountered: