Parent Directory | Revision Log | Patch
revision 1.1 by bellard, Sun Jun 15 19:42:24 2003 UTC | revision 1.2 by bellard, Wed Jul 9 17:10:32 2003 UTC | |
---|---|---|
# | Line 30 register uint32_t T2 asm(AREG3); | Line 30 register uint32_t T2 asm(AREG3); |
30 | void cpu_lock(void); | void cpu_lock(void); |
31 | void cpu_unlock(void); | void cpu_unlock(void); |
32 | void cpu_loop_exit(void); | void cpu_loop_exit(void); |
33 | ||
34 | static inline int compute_cpsr(void) | |
35 | { | |
36 | int ZF; | |
37 | ZF = (env->NZF == 0); | |
38 | return env->cpsr | (env->NZF & 0x80000000) | (ZF << 30) | | |
39 | (env->CF << 29) | ((env->VF & 0x80000000) >> 3); | |
40 | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |