> There are some other quirks with the MicroBlaze architecture. > The cmp/cmpu instructions only take a register. Other instructions > which can be used for equality or signed comparisons (xor or sub) > can take an immediate operand. I'll see how they can be added.
You can probably convince combine to merge the compare and branch insns into a single pattern, that is immediately split to a xor+branch-if-equal. Paolo