aboutsummaryrefslogtreecommitdiffstats
path: root/passes/opt/opt_expr.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Optimize compares to powers of 2C-Elegans2017-01-161-0/+61
| | | | | | | | | | | | | | | Remove opt_compare and put comparison pass in opt_expr assuming a [7:0] is unsigned a >= (1<<x) becomes |a[7:x] a < (1<<x) becomes !a[7:x] Additionally: a >= 0 becomes constant true, a < 0 becomes constant false delete opt_compare.cc revert opt.cc to commit b7cfb7dbd (remove opt_compare step)
* Added opt_expr support for div/mod by power-of-twoClifford Wolf2016-05-291-0/+69
|
* Added "yosys -D" featureClifford Wolf2016-04-211-1/+1
|
* Improvements in opt_exprClifford Wolf2016-04-211-12/+62
|
* Typo fixes in opt_expr and opt_mergeClifford Wolf2016-03-311-1/+1
|
* Renamed opt_const to opt_exprClifford Wolf2016-03-311-0/+1164