From e949e9c29de82ee7c32692e7b65da05dd22bdc9d Mon Sep 17 00:00:00 2001 From: couriersud Date: Sat, 13 Jun 2020 15:49:35 +0200 Subject: netlist: Performance improvement and refactoring. [Couriersud] Kidniki now achieves up to 910% when run with static solvers and with nltool. That is significant better than the 860% we have seen previously. This increase is driven by using a global memory pool in the solver code. In addition the following refactoring and code maintenance work is included. Please excuse the large commit, some of this took interfered with other work and the detail development steps were ugly. - gsl support: This commit adds pgsl.h which implements a very limited number of the functionality of the gsl header described in the c++ core guidelines. - clang-tidy fixes - A significant refactoring of palloc.h. Aligned hints were removed, they added complexity without a significant performance gain. Vector operations should better be done on special spans/views. The code has been tested on linux with g++-7, g++-9, clang-11. On Windows mingw-10 and VS2019, OSX clang-11. --- scripts/src/netlist.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/src/netlist.lua') diff --git a/scripts/src/netlist.lua b/scripts/src/netlist.lua index b260e8e3dec..a2a309d4a18 100644 --- a/scripts/src/netlist.lua +++ b/scripts/src/netlist.lua @@ -53,6 +53,7 @@ project "netlist" MAME_DIR .. "src/lib/netlist/plib/pconfig.h", MAME_DIR .. "src/lib/netlist/plib/palloc.h", MAME_DIR .. "src/lib/netlist/plib/pchrono.h", + MAME_DIR .. "src/lib/netlist/plib/pgsl.h", MAME_DIR .. "src/lib/netlist/plib/penum.h", MAME_DIR .. "src/lib/netlist/plib/pexception.cpp", MAME_DIR .. "src/lib/netlist/plib/pexception.h", -- cgit v1.2.3-70-g09d2