VirtualBox

Changeset 14582 in vbox for trunk


Ignore:
Timestamp:
Nov 25, 2008 5:32:10 PM (16 years ago)
Author:
vboxsync
Message:

Fixed REM problem with loading wrong register, was leading to
inability to perform 'CMP AH, AL', flush disam log file on TB end

Location:
trunk/src/recompiler_new
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler_new/target-i386/translate.c

    r14574 r14582  
    467467    case OT_BYTE:
    468468        if (reg < 4 X86_64_DEF( || reg >= 8 || x86_64_hregs)) {
     469#ifndef VBOX
    469470            goto std_case;
     471#else
     472            tcg_gen_ld8u_tl(t0, cpu_env, offsetof(CPUState, regs[reg]) + REG_B_OFFSET);
     473#endif
    470474        } else {
    471475            tcg_gen_ld8u_tl(t0, cpu_env, offsetof(CPUState, regs[reg - 4]) + REG_H_OFFSET);
  • trunk/src/recompiler_new/tcg/tcg.c

    r14542 r14582  
    19751975        tcg_dump_ops(s, logfile);
    19761976        fprintf(logfile, "\n");
     1977        fsync(logfile);
    19771978    }
    19781979#endif
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