From: SourceForge.net <no...@so...> - 2012-06-27 13:02:23
|
Feature Requests item #3538389, was opened at 2012-06-27 06:02 Message generated for change (Tracker Item Submitted) made by spth You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=3538389&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: hc08 port Group: None Status: Open Priority: 5 Private: No Submitted By: Philipp Klaus Krause (spth) Assigned to: Nobody/Anonymous (nobody) Summary: Built-in memset() Initial Comment: A built-in memset() for the hc08 and s08 ports would 1) Increase code speed 2) Reduce code size 3) Allow making the string functions standard-compliant, since the common cases would take the fast built-in path A built-in for constant c and n at most 256 (the most common case) would a as simple as mov ,x+, c dbnza which is just four bytes, much less than the call overhead for a call to memset(). Some more information can be found in my post titled "A proposal for parameter c in the string functions" to sdcc-devel today. Philipp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=3538389&group_id=599 |