Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
people:holger [2007/08/20 06:50]
holger
people:holger [2007/08/20 11:34]
holger
Line 47: Line 47:
   * other than noinline in certain cases, attributes unfortunately turned out to be mostly insignificant for code size. nonnull helps only in special cases (by optimizing away any explicit pointer checks that might be inside), but as it gives us additional compile time checks, it's probably still a good idea (included them in the parts that were committed for other reasons, see above). pure mostly makes no difference either (haven'​t seen effects of more than +/- 2-3 bytes, seems to even out, and we don't have a lot of them - same). don't think i spotted a const function yet.   * other than noinline in certain cases, attributes unfortunately turned out to be mostly insignificant for code size. nonnull helps only in special cases (by optimizing away any explicit pointer checks that might be inside), but as it gives us additional compile time checks, it's probably still a good idea (included them in the parts that were committed for other reasons, see above). pure mostly makes no difference either (haven'​t seen effects of more than +/- 2-3 bytes, seems to even out, and we don't have a lot of them - same). don't think i spotted a const function yet.
  
-==== Currently in progress ==== 
  
-  * more malloc annotations (will merge and push after strings is merged) - status: have something i can commit and check in as soon as strings is merged. 
  
 +  * commited the malloc annotations (to strings branch, as that wasn't merged yet anyway)
  
-==== Things to be done next ==== 
  
-  * start annotating functions with attributes, starting with the common ones (may be a large amount of work that might not lead to anything useful, but at least we know that then - and it might inspire ideas on other modifications to commonly used functions) 
  
-==== Other things still to do ====+ 
 +==== Things ​to do now that we have "​pencils down" for code ====
  
   * write up some docs for the conversions that helped, give some background, maybe illustrated by examples of the generated code before and after.   * write up some docs for the conversions that helped, give some background, maybe illustrated by examples of the generated code before and after.
   * write up docs on when functions (or other symbols) should be attributed by what.   * write up docs on when functions (or other symbols) should be attributed by what.
-  * whatever else comes up 
- 
- 
- 
- 
- 
- 
  

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code people:holger (generated for current page)