Lines Matching refs:vex_state

716 UInt LibVEX_GuestX86_get_eflags ( /*IN*/const VexGuestX86State* vex_state )  in LibVEX_GuestX86_get_eflags()  argument
719 vex_state->guest_CC_OP, in LibVEX_GuestX86_get_eflags()
720 vex_state->guest_CC_DEP1, in LibVEX_GuestX86_get_eflags()
721 vex_state->guest_CC_DEP2, in LibVEX_GuestX86_get_eflags()
722 vex_state->guest_CC_NDEP in LibVEX_GuestX86_get_eflags()
724 UInt dflag = vex_state->guest_DFLAG; in LibVEX_GuestX86_get_eflags()
728 if (vex_state->guest_IDFLAG == 1) in LibVEX_GuestX86_get_eflags()
730 if (vex_state->guest_ACFLAG == 1) in LibVEX_GuestX86_get_eflags()
739 /*MOD*/VexGuestX86State* vex_state ) in LibVEX_GuestX86_put_eflag_c() argument
742 vex_state->guest_CC_OP, in LibVEX_GuestX86_put_eflag_c()
743 vex_state->guest_CC_DEP1, in LibVEX_GuestX86_put_eflag_c()
744 vex_state->guest_CC_DEP2, in LibVEX_GuestX86_put_eflag_c()
745 vex_state->guest_CC_NDEP in LibVEX_GuestX86_put_eflag_c()
752 vex_state->guest_CC_OP = X86G_CC_OP_COPY; in LibVEX_GuestX86_put_eflag_c()
753 vex_state->guest_CC_DEP1 = oszacp; in LibVEX_GuestX86_put_eflag_c()
754 vex_state->guest_CC_DEP2 = 0; in LibVEX_GuestX86_put_eflag_c()
755 vex_state->guest_CC_NDEP = 0; in LibVEX_GuestX86_put_eflag_c()
1566 /*OUT*/VexGuestX86State* vex_state ) in do_put_x87() argument
1570 ULong* vexRegs = (ULong*)(&vex_state->guest_FPREG[0]); in do_put_x87()
1571 UChar* vexTags = (UChar*)(&vex_state->guest_FPTAG[0]); in do_put_x87()
1604 vex_state->guest_FTOP = ftop; in do_put_x87()
1607 vex_state->guest_FC3210 = c3210; in do_put_x87()
1615 vex_state->guest_FPROUND = fpround & 3; in do_put_x87()
1625 void do_get_x87 ( /*IN*/VexGuestX86State* vex_state, in do_get_x87() argument
1630 ULong* vexRegs = (ULong*)(&vex_state->guest_FPREG[0]); in do_get_x87()
1631 UChar* vexTags = (UChar*)(&vex_state->guest_FPTAG[0]); in do_get_x87()
1633 UInt ftop = vex_state->guest_FTOP; in do_get_x87()
1634 UInt c3210 = vex_state->guest_FC3210; in do_get_x87()
1643 = toUShort(x86g_create_fpucw( vex_state->guest_FPROUND )); in do_get_x87()
2706 void LibVEX_GuestX86_initialise ( /*OUT*/VexGuestX86State* vex_state ) in LibVEX_GuestX86_initialise() argument
2708 vex_state->host_EvC_FAILADDR = 0; in LibVEX_GuestX86_initialise()
2709 vex_state->host_EvC_COUNTER = 0; in LibVEX_GuestX86_initialise()
2711 vex_state->guest_EAX = 0; in LibVEX_GuestX86_initialise()
2712 vex_state->guest_ECX = 0; in LibVEX_GuestX86_initialise()
2713 vex_state->guest_EDX = 0; in LibVEX_GuestX86_initialise()
2714 vex_state->guest_EBX = 0; in LibVEX_GuestX86_initialise()
2715 vex_state->guest_ESP = 0; in LibVEX_GuestX86_initialise()
2716 vex_state->guest_EBP = 0; in LibVEX_GuestX86_initialise()
2717 vex_state->guest_ESI = 0; in LibVEX_GuestX86_initialise()
2718 vex_state->guest_EDI = 0; in LibVEX_GuestX86_initialise()
2720 vex_state->guest_CC_OP = X86G_CC_OP_COPY; in LibVEX_GuestX86_initialise()
2721 vex_state->guest_CC_DEP1 = 0; in LibVEX_GuestX86_initialise()
2722 vex_state->guest_CC_DEP2 = 0; in LibVEX_GuestX86_initialise()
2723 vex_state->guest_CC_NDEP = 0; in LibVEX_GuestX86_initialise()
2724 vex_state->guest_DFLAG = 1; /* forwards */ in LibVEX_GuestX86_initialise()
2725 vex_state->guest_IDFLAG = 0; in LibVEX_GuestX86_initialise()
2726 vex_state->guest_ACFLAG = 0; in LibVEX_GuestX86_initialise()
2728 vex_state->guest_EIP = 0; in LibVEX_GuestX86_initialise()
2731 x86g_dirtyhelper_FINIT( vex_state ); in LibVEX_GuestX86_initialise()
2736 vex_state->guest_SSEROUND = (UInt)Irrm_NEAREST; in LibVEX_GuestX86_initialise()
2737 SSEZERO(vex_state->guest_XMM0); in LibVEX_GuestX86_initialise()
2738 SSEZERO(vex_state->guest_XMM1); in LibVEX_GuestX86_initialise()
2739 SSEZERO(vex_state->guest_XMM2); in LibVEX_GuestX86_initialise()
2740 SSEZERO(vex_state->guest_XMM3); in LibVEX_GuestX86_initialise()
2741 SSEZERO(vex_state->guest_XMM4); in LibVEX_GuestX86_initialise()
2742 SSEZERO(vex_state->guest_XMM5); in LibVEX_GuestX86_initialise()
2743 SSEZERO(vex_state->guest_XMM6); in LibVEX_GuestX86_initialise()
2744 SSEZERO(vex_state->guest_XMM7); in LibVEX_GuestX86_initialise()
2748 vex_state->guest_CS = 0; in LibVEX_GuestX86_initialise()
2749 vex_state->guest_DS = 0; in LibVEX_GuestX86_initialise()
2750 vex_state->guest_ES = 0; in LibVEX_GuestX86_initialise()
2751 vex_state->guest_FS = 0; in LibVEX_GuestX86_initialise()
2752 vex_state->guest_GS = 0; in LibVEX_GuestX86_initialise()
2753 vex_state->guest_SS = 0; in LibVEX_GuestX86_initialise()
2754 vex_state->guest_LDT = 0; in LibVEX_GuestX86_initialise()
2755 vex_state->guest_GDT = 0; in LibVEX_GuestX86_initialise()
2757 vex_state->guest_EMNOTE = EmNote_NONE; in LibVEX_GuestX86_initialise()
2760 vex_state->guest_CMSTART = 0; in LibVEX_GuestX86_initialise()
2761 vex_state->guest_CMLEN = 0; in LibVEX_GuestX86_initialise()
2763 vex_state->guest_NRADDR = 0; in LibVEX_GuestX86_initialise()
2764 vex_state->guest_SC_CLASS = 0; in LibVEX_GuestX86_initialise()
2765 vex_state->guest_IP_AT_SYSCALL = 0; in LibVEX_GuestX86_initialise()
2767 vex_state->padding1 = 0; in LibVEX_GuestX86_initialise()