mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02:00
peepopt: Describe shiftadd rule in help message
This commit is contained in:
committed by
phsauter
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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user