summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/generated/static_solvers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* netlist: Fix some edge cases in static compile. (nw) couriersud2020-04-281-104/+104
| | | Comes with a new version of static_solvers.cpp
* netlist: rename some macros. (nw) couriersud2020-04-261-0/+0
| | | Rename COPYASSIGN* and friends to PCOPYASSIGN*.
* netlist: nltool usage and static compile changes. [Couriersud] couriersud2020-04-181-53/+54
| | | | | | | | | | | | | | | | | | | | | This commit simplifies the creation of static solvers. For this to happen the following changes were made: - nltool does no longer support the "-f netlist_file.cpp" option. All parts of netlist which used the option now expect the file to be specified after all other options. Before: nltool -t 10 -f somenetlist.cpp Now : nltool -t 10 somenetlist.cpp - The static compile command now supports an "--output" option to specify the file to be created and accepts multiple input files. To be create the static solver file for MAME use the script provided or: ./nltool --cmd static --output=src/lib/netlist/generated/static_solvers.cpp src/mame/audio/nl_*.cpp src/mame/machine/nl_*.cpp - Updated documentation and examples provided by nltool --help
* netlist: improve performance up to 65% on audio netlists. [Couriersud] couriersud2020-04-131-0/+9871
This commit introduces precompiled static solver code. Due to additional optimizations the compiler can use because the detail calculation steps for the solution are known e.g. the kidniki netlist sees a 100% speed increase. In all environments (windows/*nix/osx) the source for the static solver code can be created using bash src/lib/netlist/nl_create_mame_solvers.sh This will create src/lib/netlist/generated/static_solvers.cpp which is compiled into the mame binary. The script is just a temporary workaround. The intention is that nltool whill be able to create this file with one call. There are other improvements in this commit speeding up the processing of timestep and dynamic calculations.