diff options
| author | 2026-01-04 14:18:18 +1100 | |
|---|---|---|
| committer | 2026-01-04 14:18:18 +1100 | |
| commit | 2209d46c9477c638eba937516b63dd71a01328db (patch) | |
| tree | 8fbfa21bd53c4f1f334c3a5b0c3d2bfeace2e401 /docs | |
| parent | 5784c8ac521970b432c05385cc829e17358467be (diff) | |
cpu/drccache.cpp: Defer allocating to start, allow forcing W^X mode. (#14760)
cpu/drccache.cpp: Added helpers for allocating structures/objects in the
cache.
cpu/drccache.cpp: Supply desired alignment when allocating cache memory
(not fully implemented).
cpu/drccache.cpp: Log some statistics on destruction.
emu/emuopts.cpp: Added -[no]drc_rwx option to allow forcing W^X mode
when writable executable pages are permitted.
cpu/mips, cpu/powerpc: Allow DRC cache size to be set externally at
configuration time, so systems can override the default.
cpu/dspp, cpu/e132xs, cpu/unsp: Don't allocate DRC resources if
recompiler is disabled.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/commandline/commandline-all.rst | 27 | ||||
| -rw-r--r-- | docs/source/commandline/commandline-index.rst | 1 |
2 files changed, 25 insertions, 3 deletions
diff --git a/docs/source/commandline/commandline-all.rst b/docs/source/commandline/commandline-all.rst index ac3220aeb16..208cc9810d0 100644 --- a/docs/source/commandline/commandline-all.rst +++ b/docs/source/commandline/commandline-all.rst @@ -3923,7 +3923,9 @@ Core Misc Options **-[no]drc** - Enable DRC (dynamic recompiler) CPU core if available for maximum speed. + Enable DRC (dynamic recompiler) CPU cores if available. Turn this option + off to use interpreter CPU cores if available. This option does not affect + CPUs that only support one core type. The default is ON (**-drc**). @@ -3932,18 +3934,37 @@ Core Misc Options mame ironfort -nodrc +.. _mame-commandline-drcrwx: + +**\-[no]drc_rwx** + + Allow DRC CPU cores to use memory that is simultaneously writable and + executable if supported. Turning this option off may decrease performance. + This option only affects DRC CPU cores, and has no effect in configurations + that do not allow memory to be simultaneously writable and executable (e.g. + recent versions of macOS and NetBSD). + + The default is ON (**-drc_rwx**). + + Example: + .. code-block:: bash + + mame fiveside -nodrc_rwx + .. _mame-commandline-drcusec: **\-[no]drc_use_c** - Force DRC to use the C code backend. + Force DRC CPU cores to use the portable C code back-end when a native + back-end is available. This option only affects DRC CPU cores, and has no + effect if a native DRC back-end is not available. The default is OFF (**-nodrc_use_c**). Example: .. code-block:: bash - mame ironfort -drc_use_c + mame vamphalf -drc_use_c .. _mame-commandline-drcloguml: diff --git a/docs/source/commandline/commandline-index.rst b/docs/source/commandline/commandline-index.rst index 8d3ee9f516a..07808ee4445 100644 --- a/docs/source/commandline/commandline-index.rst +++ b/docs/source/commandline/commandline-index.rst @@ -318,6 +318,7 @@ Core Misc Options ~~~~~~~~~~~~~~~~~ | :ref:`[no]drc <mame-commandline-drc>` +| :ref:`[no]drc_rwx <mame-commandline-drcrwx>` | :ref:`[no]drc_use_c <mame-commandline-drcusec>` | :ref:`[no]drc_log_uml <mame-commandline-drcloguml>` | :ref:`[no]drc_log_native <mame-commandline-drclognative>` |
