mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-25 15:09:34 +00:00
add opt_compare pass and add it to opt
for a < 0:
if a is signed, replace with a[max_bit-1]
for a >= 0:
if a is signed, replace with ~a[max_bit-1]
|
||
|---|---|---|
| .. | ||
| Makefile.inc | ||
| opt.cc | ||
| opt_clean.cc | ||
| opt_compare.cc | ||
| opt_expr.cc | ||
| opt_merge.cc | ||
| opt_muxtree.cc | ||
| opt_reduce.cc | ||
| opt_rmdff.cc | ||
| share.cc | ||
| wreduce.cc | ||