Diff for /qemu/dyngen-exec.h between versions 1.1.1.9 and 1.1.1.10

version 1.1.1.9, 2018/04/24 18:07:06 version 1.1.1.10, 2018/04/24 18:24:14
Line 31 Line 31
    host headers do not allow that. */     host headers do not allow that. */
 #include <stddef.h>  #include <stddef.h>
 #include <stdint.h>  #include <stdint.h>
   #include <stdbool.h>
   
 #ifdef __OpenBSD__  #ifdef __OpenBSD__
 #include <sys/types.h>  #include <sys/types.h>
Line 50  extern int printf(const char *, ...); Line 51  extern int printf(const char *, ...);
   
 #if defined(__i386__)  #if defined(__i386__)
 #define AREG0 "ebp"  #define AREG0 "ebp"
 #define AREG1 "ebx"  
 #define AREG2 "esi"  
 #elif defined(__x86_64__)  #elif defined(__x86_64__)
 #define AREG0 "r14"  #define AREG0 "r14"
 #define AREG1 "r15"  
 #define AREG2 "r12"  
 #elif defined(_ARCH_PPC)  #elif defined(_ARCH_PPC)
 #define AREG0 "r27"  #define AREG0 "r27"
 #define AREG1 "r24"  
 #define AREG2 "r25"  
 #elif defined(__arm__)  #elif defined(__arm__)
 #define AREG0 "r7"  #define AREG0 "r7"
 #define AREG1 "r4"  
 #define AREG2 "r5"  
 #elif defined(__hppa__)  #elif defined(__hppa__)
 #define AREG0 "r17"  #define AREG0 "r17"
 #define AREG1 "r14"  
 #define AREG2 "r15"  
 #elif defined(__mips__)  #elif defined(__mips__)
 #define AREG0 "s0"  #define AREG0 "s0"
 #define AREG1 "s1"  
 #define AREG2 "fp"  
 #elif defined(__sparc__)  #elif defined(__sparc__)
 #ifdef CONFIG_SOLARIS  #ifdef CONFIG_SOLARIS
 #define AREG0 "g2"  #define AREG0 "g2"
 #define AREG1 "g3"  
 #define AREG2 "g4"  
 #else  #else
 #ifdef __sparc_v9__  #ifdef __sparc_v9__
 #define AREG0 "g5"  #define AREG0 "g5"
 #define AREG1 "g6"  
 #define AREG2 "g7"  
 #else  #else
 #define AREG0 "g6"  #define AREG0 "g6"
 #define AREG1 "g1"  
 #define AREG2 "g2"  
 #endif  #endif
 #endif  #endif
 #elif defined(__s390__)  #elif defined(__s390__)
 #define AREG0 "r10"  #define AREG0 "r10"
 #define AREG1 "r7"  
 #define AREG2 "r8"  
 #elif defined(__alpha__)  #elif defined(__alpha__)
 /* Note $15 is the frame pointer, so anything in op-i386.c that would  /* Note $15 is the frame pointer, so anything in op-i386.c that would
    require a frame pointer, like alloca, would probably loose.  */     require a frame pointer, like alloca, would probably loose.  */
 #define AREG0 "$15"  #define AREG0 "$15"
 #define AREG1 "$9"  
 #define AREG2 "$10"  
 #elif defined(__mc68000)  #elif defined(__mc68000)
 #define AREG0 "%a5"  #define AREG0 "%a5"
 #define AREG1 "%a4"  
 #define AREG2 "%d7"  
 #elif defined(__ia64__)  #elif defined(__ia64__)
 #define AREG0 "r7"  #define AREG0 "r7"
 #define AREG1 "r4"  
 #define AREG2 "r5"  
 #else  #else
 #error unsupported CPU  #error unsupported CPU
 #endif  #endif

Removed from v.1.1.1.9  
changed lines
  Added in v.1.1.1.10


unix.superglobalmegacorp.com