aboutsummaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-01-29 13:38:43 -0800
committerRichard Henderson <rth@twiddle.net>2013-02-19 23:05:18 -0800
commit436ff2d227588d42970c4f0ed1cdfcb87c872fba (patch)
tree490749eb20535f821b9937d8fb25d7a38faad2a9 /target-i386/cpu.h
parent321c535105a182501b888f095f7ec4dbb5f3f6ae (diff)
target-i386: Add CC_OP_CLR
Special case xor with self. We need not even store the known zero into cc_src. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r--target-i386/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index e0443d8917..493dda8bb6 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -645,6 +645,8 @@ typedef enum {
CC_OP_ADOX, /* CC_DST = O, CC_SRC = rest. */
CC_OP_ADCOX, /* CC_DST = C, CC_SRC2 = O, CC_SRC = rest. */
+ CC_OP_CLR, /* Z set, all other flags clear. */
+
CC_OP_NB,
} CCOp;