aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opt/opt_expr_alu.ys
Commit message (Collapse)AuthorAgeFilesLines
* opt_expr: Fix X and CO outputs for $alu identity-mapping rules.Marcelina Koƛcielnicka2020-04-161-8/+66
|
* opt_expr: Add more $alu optimizations.Marcelina Koƛcielnicka2020-04-141-4/+52
| | | | | | | | | | | Detect the places in the $alu where the carry bit is constant (due to const A[i] == B[i] ^ BI) and split it into smaller $alu at these points. Also, make the existing const-carry detection for low bits more generic (now handles cases where both BI and CI are constant, but not equal to one another). Fixes #1912.
* opt_expr: add $alu testsEddie Hung2020-03-191-0/+63