qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH v3 3/7] target-i386: Don't use SoftFloat uint64


From: Juan Quintela
Subject: [Qemu-devel] Re: [PATCH v3 3/7] target-i386: Don't use SoftFloat uint64 type
Date: Sun, 19 Dec 2010 01:49:26 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Andreas Färber <address@hidden> wrote:
> softfloat.h's uint64 type has least-width semantics,
> which seems unintended here since uint64_t is used in helpers.
>
> v3:
> * Split off.

Acked-by: Juan Quintela <address@hidden>

Some days I feel the urgency of removing all the typealiases of
softfloat.h :(


> Cc: Huang Ying <address@hidden>
> Cc: Juan Quintela <address@hidden>
> Signed-off-by: Andreas Färber <address@hidden>
> ---
>  target-i386/cpu.h |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/target-i386/cpu.h b/target-i386/cpu.h
> index 06e40f3..f0c07cd 100644
> --- a/target-i386/cpu.h
> +++ b/target-i386/cpu.h
> @@ -737,10 +737,10 @@ typedef struct CPUX86State {
>         user */
>      struct DeviceState *apic_state;
>  
> -    uint64 mcg_cap;
> -    uint64 mcg_status;
> -    uint64 mcg_ctl;
> -    uint64 mce_banks[MCE_BANKS_DEF*4];
> +    uint64_t mcg_cap;
> +    uint64_t mcg_status;
> +    uint64_t mcg_ctl;
> +    uint64_t mce_banks[MCE_BANKS_DEF*4];
>  
>      uint64_t tsc_aux;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]