Patches, Extensions, and Tools for MMIXware


Documentation, Sources, Binaries, Links, Examples, Contributions

Table of Content

Content

Patches, Extensions, and Tools for MMIXware

Patches

In this section you find small changes to the original MMIXware files, either as patch or as changefile, that adapt the software to special requirements or embellish it with useful features.

Using SVN

If you want the latest MMIXware, you should usually not rely on the patches given here. Patches migrate very fast (after being tested) into the sources provided through subversion under https://gitlab.lrz.de/mmix/mmixware. There you can get the latest version of any source file and you can also see the differences between the revisions and the corresponding log messages.

Patches for Version 1.0 of August 31, 2011

  • Format-less uses of printf() produces warnings by some C compilers. Two change files by Andreas Scherer fix this: mmix-sim.ch and mmix-pipe.ch. The originals are hosted in the local branch of https://github.com/ascherer/mmix/.

  • Some Compiler (e.g. GNU C Compiler with -Wall) issue warnings about
    • if-if-else constructs that could be clarified to be if-{if-else} constructs.
    • comparisons between signed and unsigned quantities
    • printf statements that do not have a literal format string.
    • size_t (e.g. the return type of strlen) is larger than int.
    • old style functions that use char and short parameters (because the arguments might be promoted to int types).
    • missing cases in switch statements.
    • unused labels.
    These complaints are fixed by the following change files.

Extensions

In this section you find larger add-ons to MMIXware.

Tools

In this section you find stand-alone utilities that can make life easier when working with MMIX.

Tools used for The MMIX Supplement

  • mmstotex by M. Ruckert, a tool to convert mms source files to tex files. You find more information on it on its own page with a link to its source code.

  • testgen by M. Ruckert, a tool to facilitate writing and executing test cases. The tool testgen is described on the testgen page, again with a link to its source code.

  • mmstort by M. Ruckert, a tool to extract and add up instruction counts in mms source files. You find more information on it on its own page with a link to its source code.

  • ftoo by M. Ruckert, a tool to replace floating point constant in mms source files by their hexadecimal representation. You find more information on it on its own page with a link to its source code.

  • Please help to keep this site up to date! If you want to point out important material or projects that are not listed here, if you find errors or want to suggest improvements, please send email to email