Home
last modified time | relevance | path

Searched refs:fpstt (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/target/i386/tcg/
H A Dfpu_helper.c34 #define ST0 (env->fpregs[env->fpstt].d)
35 #define ST(n) (env->fpregs[(env->fpstt + (n)) & 7].d)
78 env->fpstt = (env->fpstt - 1) & 7; in fpush()
79 env->fptags[env->fpstt] = 0; /* validate stack entry */ in fpush()
84 env->fptags[env->fpstt] = 1; /* invalidate stack entry */ in fpop()
85 env->fpstt = (env->fpstt + 1) & 7; in fpop()
258 new_fpstt = (env->fpstt - 1) & 7; in helper_flds_ST0()
261 env->fpstt = new_fpstt; in helper_flds_ST0()
275 new_fpstt = (env->fpstt - 1) & 7; in helper_fldl_ST0()
278 env->fpstt = new_fpstt; in helper_fldl_ST0()
[all …]
/openbmc/qemu/target/i386/
H A Dgdbstub.c143 int r_index = (st_index + env->fpstt) % 8; in x86_cpu_gdb_read_register()
190 (env->fpstt & 0x7) << 11); in x86_cpu_gdb_read_register()
348 env->fpstt = (tmp >> 11) & 7; in x86_cpu_gdb_write_register()
H A Dxsave_helper.c28 swd |= (env->fpstt & 7) << 11; in x86_cpu_xsave_all_areas()
165 env->fpstt = (swd >> 11) & 7; in x86_cpu_xrstor_all_areas()
H A Dcpu-dump.c495 (env->fpus & ~0x3800) | (env->fpstt & 0x7) << 11, in x86_cpu_dump_state()
496 env->fpstt, in x86_cpu_dump_state()
H A Dmachine.c226 env->fpus_vmstate = (env->fpus & ~0x3800) | (env->fpstt & 0x7) << 11; in cpu_pre_save()
384 env->fpstt = (env->fpus_vmstate >> 11) & 7; in cpu_post_load()
H A Dcpu.h1776 unsigned int fpstt; /* top of stack index */ member
/openbmc/qemu/target/i386/nvmm/
H A Dnvmm-all.c149 state->fpu.fx_sw = (env->fpus & ~0x3800) | ((env->fpstt & 0x7) << 11); in nvmm_set_registers()
305 env->fpstt = (state->fpu.fx_sw >> 11) & 0x7; in nvmm_get_registers()
/openbmc/qemu/target/i386/whpx/
H A Dwhpx-all.c491 (env->fpus & ~0x3800) | (env->fpstt & 0x7) << 11; in whpx_set_registers()
717 env->fpstt = (vcxt.values[idx].FpControlStatus.FpStatus >> 11) & 0x7; in whpx_get_registers()