3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-16 13:58:47 +00:00
yosys/backends
whitequark f75bc6c7aa cxxrtl: disable optimization of debug_items().
Implementing outlining has greatly increased the amount of debug
information in a typical build, and consequently exposed performance
issues in C++ compilers, which are similar for both GCC and Clang;
the compile time of Minerva SoC SRAM increased almost twofold.

Although one would expect the slowdown to be caused by the increased
use of templates in `debug_eval()`, it is actually almost entirely
attributable to optimizations and codegen for `debug_items()`.

Fortunately, it is neither possible nor desirable to optimize
`debug_items()`: in most cases it is called exactly once, and its
body is a linear sequence of calls with unique arguments.

This commit turns off optimizations for `debug_items()` on GCC and
Clang, improving -Os compile time of Minerva SoC SRAM by ~40% (!)
2020-12-15 11:02:38 +00:00
..
aiger use the new isPublic() in a few places 2020-09-14 12:43:18 +02:00
blif backends/blif: Remove unused vector of strings () 2020-11-16 09:31:48 +01:00
btor btor: Use Mem helper. 2020-10-21 17:51:20 +02:00
cxxrtl cxxrtl: disable optimization of debug_items(). 2020-12-15 11:02:38 +00:00
edif use the new isPublic() in a few places 2020-09-14 12:43:18 +02:00
firrtl Formatting fixes 2020-11-23 10:55:09 +01:00
intersynth Replace "ILANG" with "RTLIL" everywhere. 2020-08-26 17:29:32 +00:00
json Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
protobuf Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
rtlil Replace "ILANG" with "RTLIL" everywhere. 2020-08-26 17:29:32 +00:00
simplec Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
smt2 smt2: Use Mem helper. 2020-10-21 17:51:20 +02:00
smv Add missing gitignores for test artifacts 2020-08-31 19:43:51 +02:00
spice Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
table Use C++11 final/override keywords. 2020-06-18 23:34:52 +00:00
verilog Add verilog backend option for simple_lhs 2020-11-25 18:21:41 +01:00