target-i386: factor setting of s->cc_op handling for string functions
commit91642ff80607ad90c66ba044fe91e4a53b09bdbb
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Oct 2012 23:22:09 +0000 (6 01:22 +0200)
committerRichard Henderson <rth@twiddle.net>
Mon, 18 Feb 2013 23:03:55 +0000 (18 15:03 -0800)
treea18c8e9ec6459ee7be6cca54c7c5f16e92ac76f4
parentd824df34e8cdd2fbe55258f26731d7ef3ac7ced2
target-i386: factor setting of s->cc_op handling for string functions

Set it to the appropriate CC_OP_SUBx constant in gen_scas/gen_cmps.
In the repz case it can be overridden to CC_OP_DYNAMIC after generating
the code.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-i386/translate.c