On Tue, Mar 12, 2013 at 7:43 AM, Richard Henderson <r...@twiddle.net> wrote: > Changes v1-v2: > * Use more helper functions to handle K and N constraints. > * Improve add2/sub2. > * Improve epilogues, as suggested in the previous thread. > * Fix a typo in the name of the deposit helper. > * Implement division for cortex-a15.
I applied all of the patch series and tested nbench in user mode on a quad core Cortex-A9 (which means I didn't test the div part and the add2/sub2 part since it's i386 code). It works and gave some nice speedup. Thanks, Laurent > > r~ > > > Richard Henderson (9): > tcg-arm: Use bic to implement and with constant > tcg-arm: Handle negated constant arguments to and/sub > tcg-arm: Allow constant first argument to sub > tcg-arm: Use tcg_out_dat_rIN for compares > tcg-arm: Handle constant arguments to add2/sub2 > tcg-arm: Improve constant generation > tcg-arm: Fold epilogue into INDEX_op_exit_tb > tcg-arm: Implement deposit for armv7 > tcg-arm: Implement division instructions > > disas/arm.c | 4 + > tcg/arm/tcg-target.c | 410 > ++++++++++++++++++++++++++++++++++++--------------- > tcg/arm/tcg-target.h | 14 +- > 3 files changed, 304 insertions(+), 124 deletions(-) > > -- > 1.8.1.2 > >