[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [6009] Fix smsw for x86_64 guest and bigendian host cas
From: |
Stuart Brady |
Subject: |
Re: [Qemu-devel] [6009] Fix smsw for x86_64 guest and bigendian host case |
Date: |
Sat, 13 Dec 2008 16:13:37 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sat, Dec 13, 2008 at 03:51:14PM +0000, malc wrote:
> +#if defined TARGET_X86_64 && defined WORDS_BIGENDIAN
> + tcg_gen_ld32u_tl(cpu_T[0], cpu_env, offsetof(CPUX86State,cr[0])
> + 4);
> +#else
> tcg_gen_ld32u_tl(cpu_T[0], cpu_env, offsetof(CPUX86State,cr[0]));
> +#endif
Hmm -- shouldn't REG_L_OFFSET be added instead of using #ifdefs?
--
Stuart Brady