summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/nl_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/nl_config.h')
-rw-r--r--src/lib/netlist/nl_config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/netlist/nl_config.h b/src/lib/netlist/nl_config.h
index 9f122502efa..8740b5ddbd9 100644
--- a/src/lib/netlist/nl_config.h
+++ b/src/lib/netlist/nl_config.h
@@ -115,6 +115,15 @@
#define NL_USE_FLOAT128 PUSE_FLOAT128
#endif
+/// \brief Prefer 128bit int type for ptime if supported
+///
+/// Set this to one if you want to use 128 bit int for ptime.
+/// This is about 10% slower on a skylake processor for pongf.
+///
+#ifndef NL_PREFER_INT128
+#define NL_PREFER_INT128 (0)
+#endif
+
/// \brief Support float type for matrix calculations.
///
/// Defaults to NL_USE_ACADEMIC_SOLVERS to provide faster build times