]> git.sur5r.net Git - cc65/commit
Don't generate short code for the tosxxx functions when X is zero or similar.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 14 Aug 2009 22:10:04 +0000 (22:10 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 14 Aug 2009 22:10:04 +0000 (22:10 +0000)
commit0b7b9354dce67c4b9a67ac1e043aa3333837d120
tree97e058bebd5c09711b6a4e7c5104287715829514
parent6a26b6e3b40c64ca3dc2ef6087806f3ef13334e1
Don't generate short code for the tosxxx functions when X is zero or similar.
Let the optimizer do it. This reduces the number of possible patterns that
must be detected by the optimizer. Add tosicmp0 as a shortcut function.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4006 b7a2c559-68d2-44c3-8de9-860c34a00d81
src/cc65/codegen.c
src/cc65/codeinfo.c
src/cc65/coptsize.c