VirtualBox

Ignore:
Timestamp:
Jun 29, 2011 4:01:23 PM (13 years ago)
Author:
vboxsync
Message:

recompiler: Merged in changes from 0.13.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/dyngen-exec.h

    r37675 r37689  
    7373
    7474#if defined(__i386__)
    75 #ifndef VBOX
     75# ifndef VBOX
    7676#define AREG0 "ebp"
    77 #define AREG1 "ebx"
    78 #define AREG2 "esi"
    79 #else  /* VBOX - why are we different? */
    80 # define AREG0 "esi"
    81 # define AREG1 "edi"
    82 #endif /* VBOX */
     77# else  /* VBOX - why are we different? frame-pointer optimizations on mac? */
     78#  define AREG0 "esi"
     79# endif /* VBOX */
    8380#elif defined(__x86_64__)
    8481#define AREG0 "r14"
    85 #define AREG1 "r15"
    86 #define AREG2 "r12"
    8782#elif defined(_ARCH_PPC)
    8883#define AREG0 "r27"
    89 #define AREG1 "r24"
    90 #define AREG2 "r25"
    9184#elif defined(__arm__)
    9285#define AREG0 "r7"
    93 #define AREG1 "r4"
    94 #define AREG2 "r5"
    9586#elif defined(__hppa__)
    9687#define AREG0 "r17"
    97 #define AREG1 "r14"
    98 #define AREG2 "r15"
    9988#elif defined(__mips__)
    10089#define AREG0 "s0"
    101 #define AREG1 "s1"
    102 #define AREG2 "fp"
    10390#elif defined(__sparc__)
    10491#ifdef CONFIG_SOLARIS
    10592#define AREG0 "g2"
    106 #define AREG1 "g3"
    107 #define AREG2 "g4"
    10893#else
    10994#ifdef __sparc_v9__
    11095#define AREG0 "g5"
    111 #define AREG1 "g6"
    112 #define AREG2 "g7"
    11396#else
    11497#define AREG0 "g6"
    115 #define AREG1 "g1"
    116 #define AREG2 "g2"
    11798#endif
    11899#endif
    119100#elif defined(__s390__)
    120101#define AREG0 "r10"
    121 #define AREG1 "r7"
    122 #define AREG2 "r8"
    123102#elif defined(__alpha__)
    124103/* Note $15 is the frame pointer, so anything in op-i386.c that would
    125104   require a frame pointer, like alloca, would probably loose.  */
    126105#define AREG0 "$15"
    127 #define AREG1 "$9"
    128 #define AREG2 "$10"
    129106#elif defined(__mc68000)
    130107#define AREG0 "%a5"
    131 #define AREG1 "%a4"
    132 #define AREG2 "%d7"
    133108#elif defined(__ia64__)
    134109#define AREG0 "r7"
    135 #define AREG1 "r4"
    136 #define AREG2 "r5"
    137110#else
    138111#error unsupported CPU
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette