From: SourceForge.net <no...@so...> - 2008-02-14 14:49:28
|
Feature Requests item #1893626, was opened at 2008-02-14 15:49 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1893626&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: None Group: None Status: Open Priority: 5 Private: No Submitted By: Philipp Krause (spth) Assigned to: Nobody/Anonymous (nobody) Summary: Optimize tail calls on Z80 Initial Comment: When the last statement in a void function is a function call the call somewhere ret could be optimized to jp somewhere The attached patch does the optimization in the peephole optimizer. Philipp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1893626&group_id=599 |
From: SourceForge.net <no...@so...> - 2008-02-14 14:52:09
|
Feature Requests item #1893626, was opened at 2008-02-14 15:49 Message generated for change (Comment added) made by spth You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1893626&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: None Group: None Status: Open Priority: 5 Private: No Submitted By: Philipp Krause (spth) Assigned to: Nobody/Anonymous (nobody) Summary: Optimize tail calls on Z80 Initial Comment: When the last statement in a void function is a function call the call somewhere ret could be optimized to jp somewhere The attached patch does the optimization in the peephole optimizer. Philipp ---------------------------------------------------------------------- >Comment By: Philipp Krause (spth) Date: 2008-02-14 15:52 Message: Logged In: YES user_id=564030 Originator: YES The patch is against sdcc 2.7.4 #5008. I have run the regression tests and found no problems. Philipp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1893626&group_id=599 |
From: SourceForge.net <no...@so...> - 2008-02-16 22:53:29
|
Feature Requests item #1893626, was opened at 2008-02-14 15:49 Message generated for change (Comment added) made by spth You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1893626&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: None Group: None Status: Open Priority: 5 Private: No Submitted By: Philipp Krause (spth) Assigned to: Nobody/Anonymous (nobody) Summary: Optimize tail calls on Z80 Initial Comment: When the last statement in a void function is a function call the call somewhere ret could be optimized to jp somewhere The attached patch does the optimization in the peephole optimizer. Philipp ---------------------------------------------------------------------- >Comment By: Philipp Krause (spth) Date: 2008-02-16 23:53 Message: Logged In: YES user_id=564030 Originator: YES I've added another peephole to make this work for functions that use ix to read their arguments, too. I have run the regression tests and found no problems. Philipp File Added: sdcc-ret-jp.patch ---------------------------------------------------------------------- Comment By: Philipp Krause (spth) Date: 2008-02-14 15:52 Message: Logged In: YES user_id=564030 Originator: YES The patch is against sdcc 2.7.4 #5008. I have run the regression tests and found no problems. Philipp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1893626&group_id=599 |
From: SourceForge.net <no...@so...> - 2008-02-17 07:26:33
|
Feature Requests item #1893626, was opened at 2008-02-14 15:49 Message generated for change (Comment added) made by borutr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1893626&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: None Group: None >Status: Closed Priority: 5 Private: No Submitted By: Philipp Krause (spth) >Assigned to: Borut Ražem (borutr) Summary: Optimize tail calls on Z80 Initial Comment: When the last statement in a void function is a function call the call somewhere ret could be optimized to jp somewhere The attached patch does the optimization in the peephole optimizer. Philipp ---------------------------------------------------------------------- >Comment By: Borut Ražem (borutr) Date: 2008-02-17 08:26 Message: Logged In: YES user_id=568035 Originator: NO Patch applied in svn revision #5014. Borut ---------------------------------------------------------------------- Comment By: Philipp Krause (spth) Date: 2008-02-16 23:53 Message: Logged In: YES user_id=564030 Originator: YES I've added another peephole to make this work for functions that use ix to read their arguments, too. I have run the regression tests and found no problems. Philipp File Added: sdcc-ret-jp.patch ---------------------------------------------------------------------- Comment By: Philipp Krause (spth) Date: 2008-02-14 15:52 Message: Logged In: YES user_id=564030 Originator: YES The patch is against sdcc 2.7.4 #5008. I have run the regression tests and found no problems. Philipp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1893626&group_id=599 |