On Monday 07 February 2011 09:09:36 Øyvind Harboe wrote:
> What impact would it have to make this an
> inline fn?
> 
...
> 
Inlined or not, this function could be faster.

Even with inlining and constant propagation, I don't think gcc is smart enough
to replace "buf_set_buf(_src, 0, dst, 0, 64);" by "memcpy(_src, dst, 8);"

Marc
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to