Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | opt_expr: Optimize multiplications with low 0 bits in operands. | Marcelina Kościelnicka | 2020-04-13 | 1 | -0/+33 |
| | | | | Fixes #1500. | ||||
* | kernel: big fat patch to use more ID::*, otherwise ID(*) | Eddie Hung | 2020-04-02 | 1 | -147/+147 |
| | |||||
* | Merge pull request #1845 from YosysHQ/eddie/kernel_speedup | Eddie Hung | 2020-04-02 | 1 | -4/+4 |
|\ | | | | | kernel: speedup by using more pass-by-const-ref | ||||
| * | kernel: SigSpec use more const& + overloads to prevent implicit SigSpec | Eddie Hung | 2020-03-13 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #1828 from YosysHQ/eddie/celltypes_speedup | Eddie Hung | 2020-04-01 | 1 | -3/+3 |
|\ \ | | | | | | | kernel: share a single CellTypes within a pass | ||||
| * | | Code review fixes | Eddie Hung | 2020-03-30 | 1 | -1/+1 |
| | | | |||||
| * | | kernel: share a single CellTypes within a pass | Eddie Hung | 2020-03-18 | 1 | -3/+3 |
| |/ | |||||
* | | Merge pull request #1790 from YosysHQ/eddie/opt_expr_xor | Eddie Hung | 2020-04-01 | 1 | -3/+37 |
|\ \ | | | | | | | opt_expr: optimise $xor/$xnor/$_XOR_/$_XNOR_ -s with constant inputs | ||||
| * | | opt_expr: fix failing $xnor test | Eddie Hung | 2020-03-20 | 1 | -2/+17 |
| | | | |||||
| * | | opt_expr: fix missing brace | Eddie Hung | 2020-03-20 | 1 | -2/+4 |
| | | | |||||
| * | | opt_expr: extend to $xnor and $_XNOR_ | Eddie Hung | 2020-03-19 | 1 | -8/+12 |
| | | | |||||
| * | | opt_expr: optimise 1-bit $xor or $_XOR_ with constant input | Eddie Hung | 2020-03-19 | 1 | -1/+14 |
| |/ | |||||
* | | opt_expr: remove redundant | Eddie Hung | 2020-03-19 | 1 | -3/+0 |
| | | |||||
* | | opt_expr: optimise $sub when both A[i] and B[i] == 1'b1 | Eddie Hung | 2020-03-19 | 1 | -9/+20 |
| | | |||||
* | | opt_expr: optimise for identity $alu-s just like $add/$sub | Eddie Hung | 2020-03-19 | 1 | -7/+31 |
|/ | |||||
* | Fix opt_expr.eqneq.cmpzero debug print | Alyssa Milburn | 2019-12-15 | 1 | -1/+1 |
| | |||||
* | Fix handling of z_digit "?" and fix optimization of cmp with "z" | Clifford Wolf | 2019-09-13 | 1 | -0/+4 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Copy-paste typo | Eddie Hung | 2019-08-22 | 1 | -1/+1 |
| | |||||
* | Respect opt_expr -keepdc as per @cliffordwolf | Eddie Hung | 2019-08-22 | 1 | -1/+1 |
| | |||||
* | Handle $shift and Y_WIDTH > 1 as per @cliffordwolf | Eddie Hung | 2019-08-22 | 1 | -4/+8 |
| | |||||
* | Add cover() | Eddie Hung | 2019-08-22 | 1 | -0/+1 |
| | |||||
* | Canonical form | Eddie Hung | 2019-08-22 | 1 | -5/+5 |
| | |||||
* | opt_expr to trim A port of $shiftx if Y_WIDTH == 1 | Eddie Hung | 2019-08-21 | 1 | -0/+17 |
| | |||||
* | Merge pull request #1283 from YosysHQ/clifford/fix1255 | Clifford Wolf | 2019-08-17 | 1 | -1/+2 |
|\ | | | | | Fix various NDEBUG compiler warnings | ||||
| * | Merge branch 'master' into clifford/fix1255 | Clifford Wolf | 2019-08-15 | 1 | -356/+404 |
| |\ | |||||
| * | | Fix various NDEBUG compiler warnings, closes #1255 | Clifford Wolf | 2019-08-13 | 1 | -1/+2 |
| | | | | | | | | | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | | | Use ID::keep more liberally too | Eddie Hung | 2019-08-15 | 1 | -1/+1 |
| | | | |||||
* | | | Use more ID::{A,B,Y,blackbox,whitebox} | Eddie Hung | 2019-08-15 | 1 | -159/+159 |
| | | | |||||
* | | | Fix | Eddie Hung | 2019-08-15 | 1 | -2/+2 |
| | | | |||||
* | | | Convert a few more to ID | Eddie Hung | 2019-08-15 | 1 | -20/+20 |
| |/ |/| | |||||
* | | Merge branch 'master' into clifford/ids | Clifford Wolf | 2019-08-15 | 1 | -1/+49 |
|\ \ | |||||
| * | | Merge remote-tracking branch 'origin/master' into eddie/fix_1262 | Eddie Hung | 2019-08-11 | 1 | -35/+30 |
| |\| | |||||
| * | | Wrong way around | Eddie Hung | 2019-08-10 | 1 | -2/+2 |
| | | | |||||
| * | | cover_list -> cover as per @cliffordwolf | Eddie Hung | 2019-08-10 | 1 | -2/+2 |
| | | | |||||
| * | | Grammar | Eddie Hung | 2019-08-09 | 1 | -1/+1 |
| | | | |||||
| * | | Separate $alu handling | Eddie Hung | 2019-08-09 | 1 | -7/+50 |
| | | | |||||
| * | | opt_expr -fine to trim LSBs of $alu too | Eddie Hung | 2019-08-09 | 1 | -4/+9 |
| | | | |||||
* | | | Use ID() macro in all of passes/opt/ | Clifford Wolf | 2019-08-11 | 1 | -360/+360 |
| |/ |/| | | | | | | | | | | | | | | | | | This was obtained by running the following SED command in passes/opt/ and then using "meld foo.cc foo.cc.orig" to manually fix all resulting compiler errors. sed -i.orig -r 's/"\\\\([a-zA-Z0-9_]+)"/ID(\1)/g; s/"(\$[a-zA-Z0-9_]+)"/ID(\1)/g;' *.cc Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | | Merge remote-tracking branch 'origin/master' into eddie/cleanup | Eddie Hung | 2019-08-07 | 1 | -0/+25 |
|\| | |||||
| * | Move LSB-trimming functionality from wreduce to opt_expr | Eddie Hung | 2019-08-06 | 1 | -0/+25 |
| | | |||||
* | | Cleanup opt_expr.cc | Eddie Hung | 2019-08-06 | 1 | -35/+30 |
|/ | |||||
* | Improve opt_expr and opt_clean handling of (partially) undriven and/or ↵ | Clifford Wolf | 2019-05-03 | 1 | -4/+9 |
| | | | | | | unused wires, fixes #981 Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Add handling of init attributes in "opt_expr -undriven" | Clifford Wolf | 2019-04-30 | 1 | -2/+41 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Add log_debug() framework | Clifford Wolf | 2019-04-22 | 1 | -34/+45 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Improve handling of and-with-1 and or-with-0 in opt_expr, fixes #327 | Clifford Wolf | 2019-03-14 | 1 | -0/+7 |
| | | | | Signed-off-by: Clifford Wolf <clifford@clifford.at> | ||||
* | Merge pull request #770 from whitequark/opt_expr_cmp | Clifford Wolf | 2019-01-02 | 1 | -97/+134 |
|\ | | | | | opt_expr: refactor and improve simplification of comparisons | ||||
| * | opt_expr: improve simplification of comparisons with large constants. | whitequark | 2019-01-02 | 1 | -70/+47 |
| | | | | | | | | | | | | | | | | | | | | | | | | The idea behind this simplification is that a N-bit signal X being compared with an M-bit constant where M>N and the constant has Nth or higher bit set, it either always succeeds or always fails. However, the existing implementation only worked with one-hot signals for some reason. It also printed incorrect messages. This commit adjusts the simplification to have as much power as possible, and fixes other bugs. | ||||
| * | opt_expr: refactor simplification of unsigned X<onehot and X>=onehot. NFCI. | whitequark | 2019-01-02 | 1 | -31/+37 |
| | | |||||
| * | opt_expr: refactor simplification of signed X>=0 and X<0. NFCI. | whitequark | 2019-01-02 | 1 | -24/+26 |
| | | |||||
| * | opt_expr: simplify any unsigned comparisons with all-0 and all-1. | whitequark | 2019-01-02 | 1 | -17/+69 |
| | | | | | | | | | | | | Before this commit, only unsigned comparisons with all-0 would be simplified. This commit also makes the code handling such comparisons to be more rigorous and not abort on unexpected input. |