On Thu, 2009-12-03 at 09:53 +0100, Øyvind Harboe wrote:
> So the minidriver (including classic API) must have control over whether or
> not the following fn's gets inlined or not. These fn's really are in the inner
> loops and boil away to *nothing* on a low performance low latency
> system.

And they should now, after my patches.  I want to see yours again,
updated against the current master.  :)

> Note that I'm not keen on the idea of an ABI for OpenOCD, we need
> more flexibility and less commitment than that, but I think the goal
> can be a good design influence.

For your platform, you can forget about the ABI.  For shared libraries,
it is important....  However, I agree that "commitment" to the ABI
should not be something to consider until 1.0 (or even 2.0...).

Striving to create a stable ABI, however, will improve the code, and
that is the real goal here.  It's about architectural correctness, and
inline functions are _not_ necessary for good performance.  I feel very
confident that your requirement for them could be eliminated by using
better algorithms in the JTAG layer, and you would still see better
performance than you get today.

Sure, that entails far more work, but the price to get correctness in
design is higher than that required to reach correctness in function.

--Z

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

Reply via email to