mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
peepopt: Describe shiftadd
rule in help message
This commit is contained in:
parent
9ca57d9f13
commit
b6df900bcc
|
@ -48,6 +48,9 @@ struct PeepoptPass : public Pass {
|
||||||
log(" Analogously, replace A<<(B*C) with appropriate selection of\n");
|
log(" Analogously, replace A<<(B*C) with appropriate selection of\n");
|
||||||
log(" output bits from A<<(B<<K). (left variant)\n");
|
log(" output bits from A<<(B<<K). (left variant)\n");
|
||||||
log("\n");
|
log("\n");
|
||||||
|
log(" * shiftadd - Replace A>>(B+D) with (A'>>D)>>(B) where D is constant and\n");
|
||||||
|
log(" A' is derived from A by padding or cutting inaccessible bits.\n");
|
||||||
|
log("\n");
|
||||||
}
|
}
|
||||||
void execute(std::vector<std::string> args, RTLIL::Design *design) override
|
void execute(std::vector<std::string> args, RTLIL::Design *design) override
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue