[Openocd-development] Performance work for arm7tdmi.c

2009-05-08 Thread Øyvind Harboe
Here is a first cut of modifying arm7tdmi.c to reduce # of roundtrips for reading registers. I'm not going to commit any patches before the weekend that addresses performance problems only. I'm also experimenting a little bit with the form that these changes should take. The attached patch

Re: [Openocd-development] Performance work for arm7tdmi.c

2009-05-08 Thread Magnus Lundin
Øyvind Harboe wrote: Here is a first cut of modifying arm7tdmi.c to reduce # of roundtrips for reading registers. I'm not going to commit any patches before the weekend that addresses performance problems only. I'm also experimenting a little bit with the form that these changes should

Re: [Openocd-development] Performance work for arm7tdmi.c

2009-05-08 Thread Øyvind Harboe
Sure, this will work (if there are no silly mistakes) but what is actually happening here ? - One specific postprocess function for every variant of in_handler function used - The upper level user must know which postprocess function to use in every specific place,  or it wont work, you are

Re: [Openocd-development] Performance work for arm7tdmi.c

2009-05-08 Thread Magnus Lundin
Øyvind Harboe wrote: Sure, this will work (if there are no silly mistakes) but what is actually happening here ? - One specific postprocess function for every variant of in_handler function used - The upper level user must know which postprocess function to use in every specific place, or