From e1571908a28b1707f63392541be30990160af31c Mon Sep 17 00:00:00 2001 From: aurel32 Date: Tue, 21 Oct 2008 11:31:14 +0000 Subject: target-ppc: convert crf related instructions to TCG Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5505 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/cpu.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'target-ppc/cpu.h') diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 4422411e7b..ef7a4552d3 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -829,7 +829,13 @@ static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) #include "cpu-all.h" /*****************************************************************************/ -/* Registers definitions */ +/* CRF definitions */ +#define CRF_LT 3 +#define CRF_GT 2 +#define CRF_EQ 1 +#define CRF_SO 0 + +/* XER definitions */ #define XER_SO 31 #define XER_OV 30 #define XER_CA 29 -- cgit v1.2.3