VirtualBox

Changeset 58821 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Nov 23, 2015 1:02:22 PM (9 years ago)
Author:
vboxsync
Message:

REM: Fixed SIDT/SGDT (see bugref:8118).

File:
1 edited

Legend:

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

    r46121 r58821  
    74507450            gen_add_A0_im(s, 2);
    74517451            tcg_gen_ld_tl(cpu_T[0], cpu_env, offsetof(CPUX86State, gdt.base));
    7452             if (!s->dflag)
    7453                 gen_op_andl_T0_im(0xffffff);
    74547452            gen_op_st_T0_A0(CODE64(s) + OT_LONG + s->mem_index);
    74557453            break;
     
    74967494                gen_add_A0_im(s, 2);
    74977495                tcg_gen_ld_tl(cpu_T[0], cpu_env, offsetof(CPUX86State, idt.base));
    7498                 if (!s->dflag)
    7499                     gen_op_andl_T0_im(0xffffff);
    75007496                gen_op_st_T0_A0(CODE64(s) + OT_LONG + s->mem_index);
    75017497            }
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