mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 18:05:40 +00:00
i386: Fix build
This commit is contained in:
parent
5436b713ce
commit
dec4c70142
|
@ -5904,24 +5904,18 @@ static void x86_cpu_common_class_init(struct uc_struct *uc, ObjectClass *oc, voi
|
||||||
void x86_cpu_register_types(void *opaque)
|
void x86_cpu_register_types(void *opaque)
|
||||||
{
|
{
|
||||||
const TypeInfo x86_cpu_type_info = {
|
const TypeInfo x86_cpu_type_info = {
|
||||||
TYPE_X86_CPU,
|
.name = TYPE_X86_CPU,
|
||||||
TYPE_CPU,
|
.parent = TYPE_CPU,
|
||||||
|
|
||||||
sizeof(X86CPUClass),
|
.class_size = sizeof(X86CPUClass),
|
||||||
sizeof(X86CPU),
|
.instance_size = sizeof(X86CPU),
|
||||||
opaque,
|
.instance_userdata = opaque,
|
||||||
|
|
||||||
x86_cpu_initfn,
|
.instance_init = x86_cpu_initfn,
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
|
|
||||||
NULL,
|
.class_init = x86_cpu_common_class_init,
|
||||||
|
|
||||||
x86_cpu_common_class_init,
|
.abstract = true,
|
||||||
NULL,
|
|
||||||
NULL,
|
|
||||||
|
|
||||||
true,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -2942,7 +2942,7 @@ void update_mxcsr_status(CPUX86State *env)
|
||||||
|
|
||||||
void update_mxcsr_from_sse_status(CPUX86State *env)
|
void update_mxcsr_from_sse_status(CPUX86State *env)
|
||||||
{
|
{
|
||||||
if (tcg_enabled()) {
|
if (tcg_enabled(env->uc)) {
|
||||||
uint8_t flags = get_float_exception_flags(&env->sse_status);
|
uint8_t flags = get_float_exception_flags(&env->sse_status);
|
||||||
/*
|
/*
|
||||||
* The MXCSR denormal flag has opposite semantics to
|
* The MXCSR denormal flag has opposite semantics to
|
||||||
|
|
Loading…
Reference in a new issue