qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH, RFC, WIP] TCG for Qemu target Sparc32/64


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH, RFC, WIP] TCG for Qemu target Sparc32/64
Date: Fri, 22 Feb 2008 18:13:40 +0200

On 2/22/08, Thiemo Seufer <address@hidden> wrote:
> Blue Swirl wrote:
>  > The attached patch enables most TCG ops for Qemu Sparc32/64 target.
>  > Sparc32 softmmu and linux-user are OK, but Sparc64 and Sparc32plus
>  > targets do not work.
>  >
>  > Comments?
>  >
>  > It would be nice to get rid of T2 usage in std (also stda and
>  > casa/casxa) but I don't know how to pass a 64-bit value from legacy op
>  > to TCG stores and loads on a 32-bit target and host.

[cut]

>  This whole lot should probably move to generic code (conditionalized on
>  TARGET_LONG_BITS), I have the same code in my MIPS prototype.

I agree. Also these lines, if they are really needed:
+#if TCG_TARGET_REG_BITS == 32
+#define tcg_gen_ld_ptr tcg_gen_ld_i32
+#else
+#define tcg_gen_ld_ptr tcg_gen_ld_i64
+#endif




reply via email to

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