Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

forcing a function inline and no optimize

0 views
Skip to first unread message

Balban

unread,
Dec 31, 2009, 5:12:23 AM12/31/09
to
Hi,

I would like to implement sensitive assembler routines and use inline
functions instead of cpp macros or pure assembler.

Is there a way to force such functions to be inline? I want to have
guarantees that the function will be expanded.

Is there a way to define the complete function to not be optimized? I
will make sure this happens in the inline assembler parts by using
__asm__ __volatile__ etc., but imagine that I also have a for loop,
can I have a way of being sure it gets compiled exactly as it is, i.e.
not-optimized?

Thanks,

Bahadir

0 new messages