VirtualBox

Ignore:
Timestamp:
Oct 22, 2008 4:59:34 PM (16 years ago)
Author:
vboxsync
Message:

amd64 TCG stated breathing (not much code executed yet)

File:
1 edited

Legend:

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

    r13456 r13504  
    118118#endif
    119119#ifdef __x86_64__
    120 #if 0 && defined(VBOX)
     120#if defined(VBOX)
    121121/* gcc 3.4.3 on 64-bit Solaris screws up when using rbp, it
    122122   seems so at least. (Setting AREG4 to "r15" causes compiler
    123123   error btw, so don't try it.)  */
    124 # define AREG0 "rbx"
    125 # define AREG1 "r12"
    126 # define AREG2 "r13"
    127 # define AREG3 "r14"
    128 #else
    129 #define AREG0 "rbp"
    130 #define AREG1 "rbx"
     124/* Must be in sync with TCG register notion, see tcg-target.h */
     125#define AREG0 "r14"
     126#define AREG1 "r15"
     127#define AREG2 "r12"
     128#define AREG3 "r13"
     129#else
     130#define AREG0 "r14"
     131#define AREG1 "r15"
    131132#define AREG2 "r12"
    132133#define AREG3 "r13"
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