From: Mark Wooding Date: Fri, 9 Aug 2013 09:30:48 +0000 (+0100) Subject: math/gfreduce.c: Refactor and document. X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/commitdiff_plain/51f5bbe0bfe8a344c3cc1f5a9fddf885fa75d057?hp=51f5bbe0bfe8a344c3cc1f5a9fddf885fa75d057 math/gfreduce.c: Refactor and document. There was an unfortunate amount of code duplication in the old code, particularly around the issuing of LSR instruction sequences. Gather the relevant state into a structure, and split the repeated code into separate functions. Also add a bunch of commentary explaining the underlying theory. ---