Add new intcc and floatcc operand types for the immediate condition codes on these instructions. Add new IntCompare and FloatCompare instruction formats. Add a generic match_enum() parser function that can match any identifier-like enumerated operand kind that implements FromStr. Define the icmp and fcmp instructions in case.py. Include documentation for the condition codes with these two instructions.
Parser tests ============ This directory contains test cases for the Cretonne IL parser. Each test case consists of a `foo.cton` input file and a `foo.ref` reference output file. Each input file is run through the `cton-util cat` command, and the output is compared against the reference file. If the two are identical, the test passes.