Following the same pattern of memset/memcpy, this patch implements a variable length memcmp with a CLC loop followed by an EXRL instruction.
- For a zero length memcompare, the aghi check against -1 should return a CC that is equivalent to "EQ" also for the memcompare IPM result, which seems reasonable..?
- Hope it's ok to add a CC-def on the EXRL_Pseudo instead of an extra opcode like EXRL_Pseudo_CC...
- emitMemMemVarLen() has for now merely been copied from the memcpy patch (with some minor modification).
- ~1300 less library calls on spec.
Now that benchmarking is in progress for the memcpy patch, could this also be evaluated in parallel at this point?