]> git.sur5r.net Git - cc65/commit
Small optimization of some cc65-generated loops. 294/head
authorGreg King <gregdk@users.sf.net>
Tue, 24 May 2016 19:52:12 +0000 (15:52 -0400)
committerGreg King <gregdk@users.sf.net>
Tue, 24 May 2016 19:52:12 +0000 (15:52 -0400)
commit8d5717b57add7bf67c7d7a18a5c67e87b9faacbc
treeaa24cc605782a7d732925032be8588c9d7045603
parentb0e929420b39dc767009d854719e2c739cf59532
Small optimization of some cc65-generated loops.

"bne" means also branch-on-not-zero.  Therefore, this optimization doesn't put a compare-to-zero between an increment and a "bne".
src/cc65/codegen.c
src/cc65/stdfunc.c
src/cc65/stdfunc.h