Skip to content

Commit

Permalink
Refactor the Power select evaluators
Browse files Browse the repository at this point in the history
The Power evaluators for *select opcodes have been significantly
refactored to be much simpler. Additionally a number of new
optimizations have been added to reduce the overhead of these opcodes:

1. Selector nodes which are compares are now evaluated directly to a
   condition register to avoid the overhead of evaluating them and then
   comparing the result against 0.
2. The register for one of the operands is reused if possible to avoid
   an extra mr/fmr instruction.

Signed-off-by: Ben Thomas <ben@benthomas.ca>
  • Loading branch information
aviansie-ben committed Sep 2, 2020
1 parent 8ed69bc commit 2f1baf8
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 312 deletions.
Loading

0 comments on commit 2f1baf8

Please sign in to comment.