/[qemu]/qemu/target-arm/exec.h
ViewVC logotype

Diff of /qemu/target-arm/exec.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by bellard, Tue Oct 12 22:01:28 2004 UTC revision 1.3 by bellard, Mon Jan 31 20:43:28 2005 UTC
# Line 31  void cpu_lock(void); Line 31  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    /* Implemented CPSR bits.  */
35    #define CACHED_CPSR_BITS 0xf8000000
36  static inline int compute_cpsr(void)  static inline int compute_cpsr(void)
37  {  {
38      int ZF;      int ZF;
39      ZF = (env->NZF == 0);      ZF = (env->NZF == 0);
40      return env->cpsr | (env->NZF & 0x80000000) | (ZF << 30) |      return env->cpsr | (env->NZF & 0x80000000) | (ZF << 30) |
41          (env->CF << 29) | ((env->VF & 0x80000000) >> 3);          (env->CF << 29) | ((env->VF & 0x80000000) >> 3) | (env->QF << 27);
42  }  }
43    
44  static inline void env_to_regs(void)  static inline void env_to_regs(void)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26