diff options
author | 2020-10-02 19:57:29 +0200 | |
---|---|---|
committer | 2020-10-02 19:58:31 +0200 | |
commit | c797d55aafead48ec97baa4b6314d72aca6dec72 (patch) | |
tree | b6dc4fe75cdc2770f859eaf98ce4090457c81ddf /src/lib/netlist/plib/pconfig.h | |
parent | fe47fcf9f193f1a2ffb4d3eedfd134ff6b216e62 (diff) |
netlist: move core_terms to netlist_state.
* These are used during creation and reset only. No need to
maintain them on net_t level.
Diffstat (limited to 'src/lib/netlist/plib/pconfig.h')
-rw-r--r-- | src/lib/netlist/plib/pconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/netlist/plib/pconfig.h b/src/lib/netlist/plib/pconfig.h index 8e34b01a3b8..4253ff355b1 100644 --- a/src/lib/netlist/plib/pconfig.h +++ b/src/lib/netlist/plib/pconfig.h @@ -75,8 +75,13 @@ #define PALIGN_MIN_SIZE (16) +#if (PUSE_ALIGNED_OPTIMIZATIONS) #define PALIGNAS_CACHELINE() PALIGNAS(PALIGN_CACHELINE) #define PALIGNAS_VECTOROPT() PALIGNAS(PALIGN_VECTOROPT) +#else +#define PALIGNAS_CACHELINE() +#define PALIGNAS_VECTOROPT() +#endif // FIXME: Breaks mame build on windows mingw due to -Wattribute // also triggers -Wattribute on ARM |