summaryrefslogtreecommitdiffstats
path: root/src/lib/netlist/plib/palloc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* netlist: memory allocation clean-up. (nw) couriersud2019-02-131-105/+0
|
* netlist: More cpp core guidelines alignment. (nw) couriersud2019-02-111-1/+2
|
* netlist: Refactoring after adding clang-tidy support to netlist makefile couriersud2019-02-071-4/+4
| | | | | | | - convert macros to c++ code. - order of device creation should not depend on std lib. - some state saving cleanup. - added support for clang-tidy to makefile. - modifications triggered by clang-tidy-9.
* netlist: code maintenance and fixing kidniki ... (nw) couriersud2019-02-011-1/+2
| | | to run at acceptable speed again.
* C++ and minor performance optimizations. (nw) couriersud2019-01-091-28/+26
|
* srcclean and other cleanup (nw) Vas Crabb2018-06-241-0/+0
|
* More cppcheck fixes. (nw) Couriersud2017-03-051-2/+3
|
* Reorder include order to comply with best practices. (nw) couriersud2017-02-101-2/+2
|
* Netlist: It is now possible to have multiple handlers per device ... couriersud2017-02-051-6/+17
| | | | | | | | | | | | | ... for updates. This will make device implementation more flexible and faster. A nice side-effect is that there was some minor (<5%) performance increase already. Each input is now assigned a notification handler. Currently this is update, but going forward this may be a custom handler. In addition - fixed MEMPOOL on OSX - removed dead code - avoid bit-rot - added delegate support for emscripten and arm processors - added delegate support for VS 2015 x64 [Couriersud]
* Cleanup of includes. (nw) couriersud2017-01-271-2/+0
|
* Added SIGFPE enabling code to plib/pexception.*. Moved plib exceptions couriersud2017-01-041-38/+0
| | | | | into these files as well. The code uses <cfenv> which is part of c++11 standard. Non-standard glib extensions are currently only used on linux and (i386 or x86_64). (nw)
* Added doc target to netlist makefile. Removed old style cast. (nw) couriersud2016-08-061-1/+1
|
* Various netlist fixes: couriersud2016-08-061-3/+5
| | | | | - minor include cleanup - fix a memory hole (caused by assign operators) - more C++.
* Netlist updates: couriersud2016-07-211-10/+9
| | | | | | | | | | | | | | | - Removed trampolines (OUTLOGIC, INPLOGIC and friends). - Started using doxygen comment and documentation style. Added doxygen files to documentation folder. - Refactored code triggered by doxygen output. - Moved internal and support classes into namespace detail. - Use an anordered map in parser. - -Wconversion fixes - All done now. - Fixed -Wold-style-cast warnings in netlist code. - Added iterators to pstring. - Moved two macros, added more RAII and improved exceptions. Fixed some bugs in parser code. - Fixed a number of bugs in parser code and exception handling. [Couriersud]
* Moved two macros, added more RAII and improved exceptions. Fixed some couriersud2016-07-091-1/+36
| | | | bugs in parser code. (nw)
* Netlist improvements: couriersud2016-07-011-1/+1
| | | | | | | | | | | | | | | | | | | - nltool now accepts -Ddefine=value to pass on to netlists - improved option handling and added "dummy" options to add grouping and examples in help output. - improved --cmd=listdevices output - Fix dynamic timestepping. This will work with breakout using real capacitor modelling instead of delay devices. Really slow, but very useful to calibrate timings. - Fix an awful bug in timing for delay devices. - Switched to clang 3.8 and made code compile with -Weverything -Werror -Wno-old-style-cast -Wno-padded -Wno-weak-vtables -Wno-missing-variable-declarations -Wno-conversion -Wno-c++98-compat -Wno-float-equal -Wno-cast-align -Wno-global-constructors -Wno-c++98-compat-pedantic -Wno-exit-time-destructors -Wno-format-nonliteral -Wno-weak-template-vtables This was a helpful exercise since it brought forward some serious issues with implicit constructors. [Couriersud]
* Srcclean on netlist files. Avoid the merge massacre. (nw) couriersud2016-06-251-1/+0
|
* - More code cleanup. couriersud2016-06-071-1/+1
| | | | | | | | | | | | | | - Dead code removal and minor refactoring. - Simplify. Align naming with stl. Fix somed pedantic warnings. - More STL compatability. - Remove ATTR_HOT and ATTR_COLD. Refactored netlist_time. - Fix long standing workaround which would ignore policy of change-only" propagation. - Rewrote for loops to use auto : semantics. - Truthtable cleanup. (nw) - Get rid of nl_math. Remove nl_util.h and moved contents to plib/putil.h. - Fix standalone build. Refactor ptypes.h. [Couriersud]
* - Minor cosmetic refactoring. Added a "uninitialised array" template to balr0g2016-06-071-7/+7
| | | | | | | | | | | allow in-place creation (for increased locality) of netlist classes. Main use is in truthtable class. - Remove PLIB_NAMESPACE macros. - Remove namespace macros. Use explicit namespace declarations. - Moved device definitions into cpp files. - Moved more device definitions into cpp files. - New prefix "nlid" for include files flags purely internal include files not to be leaked into userland. - Fix factory code.
* Moved more code into plib namespace. (nw) couriersud2016-05-271-0/+5
|
* Remove dependency on osd_ticks. Converted palloc and friends into couriersud2016-05-271-36/+0
| | | templates. First effort on a separate plib namespace. (nw)
* All netlist devices now follow new syntax. Removed dead code. All sub couriersud2016-05-211-0/+73
| | | | devices are now forced to be initialized in the constructor. Device setup now completely in constructor. Removed start call. [Couriersud]
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-1/+1
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+56