VirtualBox

Changeset 36125 in vbox for trunk/src/recompiler/tcg/x86_64


Ignore:
Timestamp:
Mar 1, 2011 4:49:42 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70290
Message:

recompiler: Removing traces of attempts at making the recompiler compile with the microsoft compiler. (untested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/tcg/x86_64/tcg-target.c

    r29520 r36125  
    497497
    498498#ifdef VBOX
     499
    499500DECLINLINE(void) tcg_out_pushq(TCGContext *s, tcg_target_long val)
    500501{
     
    522523    else
    523524    {
    524 #if 0
     525# if 0
    525526        /* Somewhat tricky, but allows long jump not touching registers */
    526527        int off = 5 /* push imm32 */ + 5 /* push imm32 */ + 1 /* ret */;
     
    534535        tcg_out_pushq(s, dst);
    535536        tcg_out8(s, 0xc3); /* ret, used as call */
    536 #else
     537# else
    537538        tcg_out_movi(s, TCG_TYPE_I64, TCG_REG_RAX, dst);
    538539        tcg_out8(s, 0xff); /* call *%eax */
    539540        tcg_out8(s, 0xd0);
    540 #endif
     541# endif
    541542    }
    542543}
     
    562563        return;
    563564    }
    564 #if 0
     565# if 0
    565566    tcg_out_pushq(s, dst);
    566567    tcg_out8(s, 0xc3); /* ret */
    567 #else
     568# else
    568569    tcg_out_movi(s, TCG_TYPE_I64, TCG_REG_RAX, dst);
    569570    tcg_out8(s, 0xff); /* jmp *%eax */
    570571    tcg_out8(s, 0xe0);
    571 #endif
    572 }
    573 #endif
     572# endif
     573}
     574
     575#endif /* VBOX */
    574576
    575577#if defined(CONFIG_SOFTMMU)
Note: See TracChangeset for help on using the changeset viewer.

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