On Wednesday 18 November 2009, Laurent Gauch wrote:
> I do not understand what is the advantage to work on 32bit buffers 
> instead 8bit buffers for out_value and in_value.

For starters, in some contexts it's faster by a factor of more than
four ... one instruction moving N bits, not four (and then there are
second-order effects too.  :)

For another thing, it's a clean way to help get rid of warnings like this:

arm_jtag.h: In function 'arm7flip32':
arm_jtag.h:48: error: cast increases required alignment of target type
arm_jtag.h: In function 'arm_le_to_h_u32':
arm_jtag.h:54: error: cast increases required alignment of target type

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to