diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-22 22:17:08 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-03-22 22:17:08 +0000 |
commit | e864cabdc0a38bb598ddcf88b264896dc6f3e3b2 (patch) | |
tree | b0ee2c4af21aec414b5dd1d461aec4739061be95 /target-ppc/exec.h | |
parent | a7222580366605ec15f3ffd83ddb0e62451b353b (diff) |
PowerPC bugfixes:
- must clear carry bit when doing addic with a zero immediate value
- fix missing RETURN in micro-operation that would lead to random failures
and crashes
- add USE_PRECISE_EMULATION compilation-time option to choose between
getting exact floating point results and fast but less accurate computation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2526 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/exec.h')
-rw-r--r-- | target-ppc/exec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-ppc/exec.h b/target-ppc/exec.h index a10b62d25b..87e8c1836c 100644 --- a/target-ppc/exec.h +++ b/target-ppc/exec.h @@ -27,6 +27,10 @@ #include "cpu.h" #include "exec-all.h" +/* For normal operations, precise emulation should not be needed */ +//#define USE_PRECISE_EMULATION 1 +#define USE_PRECISE_EMULATION 0 + register struct CPUPPCState *env asm(AREG0); #if TARGET_LONG_BITS > HOST_LONG_BITS /* no registers can be used */ |