Post Reply 
Optimizing performance with loop unrolling
05-04-2021, 03:45 PM
Post: #4
RE: Optimizing performance with loop unrolling
(05-04-2021 03:11 PM)Thomas Okken Wrote:  
(05-04-2021 02:30 PM)toml_12953 Wrote:  Doesn't unrolling a loop take more steps?

Yes, and this program looks like it was unrolled to the point where there's literally no loop left! It's a bit hard to read but it looks like the same five lines repeated over and over?

That was my immediate assessment of it too. It's basically the same 5 steps repeated for almost 220 steps, plus a LBL B to calculate the results. I found the "Will take 43 sets (ft)(oz) no more" note rather humorous, considering you could rewrite the whole program in about 20 steps and eliminate that limitation at the same time. Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Optimizing performance with loop unrolling - Dave Britten - 05-04-2021 03:45 PM



User(s) browsing this thread: 1 Guest(s)