arm11: improve performance using minidriver hook
commitfaef631a4d1429f48c34da13d446dcd64d1523bf
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 9 Feb 2010 13:26:57 +0000 (9 14:26 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 22 Feb 2010 09:15:51 +0000 (22 10:15 +0100)
treee32b8bc4355d6da81e403a8b149ded8740149110
parent1f5883ea56cb058221f5731359da3d66838077e0
arm11: improve performance using minidriver hook

zy1000 performance for GDB load went from 100kBytes/s
to 300kBytes/s @ 8 MHz by implementing the inner loop
of unack arm11 memory writes directly on top of the hw
fifo.

Profiling info:

 78.57      0.77     0.77                             arm11_run_instr_data_to_core_noack_inner
  5.10      0.82     0.05                             memcpy
  4.08      0.86     0.04                             jtag_tap_next_enabled
  3.06      0.89     0.03                             gdb_input

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/zy1000/zy1000.c