Skip to content

Commit

Permalink
Change HuCC's comparisons to set the C flag for true instead of setti…
Browse files Browse the repository at this point in the history
…ng A and

the Z flag.

This makes most of the common comparison operations a little quicker with the
cost that the rare boolean conversion step is slower and larger when it isn't
removed by the peephole optimizer.

The most common boolean is "var = !var", and this can be optimized separately
in the future.
  • Loading branch information
jbrandwood committed Oct 12, 2024
1 parent 8823fd2 commit ad9ce4b
Showing 1 changed file with 473 additions and 515 deletions.
Loading

0 comments on commit ad9ce4b

Please sign in to comment.