mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
target/i386: split cpu_set_mxcsr() and make cpu_set_fpuc() inline
Split the cpu_set_mxcsr() and make cpu_set_fpuc() inline with specific tcg code. Signed-off-by: Yang Zhong <yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
db573d2cf7
commit
1d8ad165b6
3 changed files with 24 additions and 13 deletions
|
@ -280,7 +280,10 @@ static int cpu_post_load(void *opaque, int version_id)
|
|||
for(i = 0; i < 8; i++) {
|
||||
env->fptags[i] = (env->fptag_vmstate >> i) & 1;
|
||||
}
|
||||
update_fp_status(env);
|
||||
if (tcg_enabled()) {
|
||||
update_fp_status(env);
|
||||
update_mxcsr_status(env);
|
||||
}
|
||||
|
||||
cpu_breakpoint_remove_all(cs, BP_CPU);
|
||||
cpu_watchpoint_remove_all(cs, BP_CPU);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue