From 436ff2d227588d42970c4f0ed1cdfcb87c872fba Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 29 Jan 2013 13:38:43 -0800 Subject: 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 --- target-i386/cpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target-i386/cpu.h') diff --git a/target-i386/cpu.h b/target-i386/cpu.h index e0443d8..493dda8 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; -- cgit v1.1