[cc65] inlining details

From: Groepaz <groepaz1gmx.net>
Date: 2012-02-21 02:28:51
...and another :)

since i am working with a heavily modified library, it would be interesting to 
know some more details on what functions are actually inlined... 

for -Oi the docs say "Using -Oi, the code generator will inline some code 
where otherwise a runtime functions would have been called" - does that mean 
the respective functions are all from libsrc/runtime ? (so when i dont touch 
any of these, i am safe with this option?)

then for -Os it says "Using -Os will force the compiler to inline some known 
functions from the C library like strlen." - is there a full list somewhere? 
(it would also be interesting to somehow have more finegrained control over 
this, eg for me it would be useful to inline strXXX functions, but not memXXX 
functions)

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Good artists copy, great artists steal. 
<Pablo Picasso>

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Feb 21 02:28:58 2012

This archive was generated by hypermail 2.1.8 : 2012-02-21 02:29:02 CET