[Top][All Lists]
[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
- [Qemu-devel] [PATCH, RFC, WIP] TCG for Qemu target Sparc32/64, Blue Swirl, 2008/02/21
- Re: [Qemu-devel] [PATCH, RFC, WIP] TCG for Qemu target Sparc32/64, Thiemo Seufer, 2008/02/21
- Re: [Qemu-devel] [PATCH, RFC, WIP] TCG for Qemu target Sparc32/64,
Blue Swirl <=
- [Qemu-devel] Re: [PATCH, RFC, WIP] TCG for Qemu target Sparc32/64, Fabrice Bellard, 2008/02/23
- [Qemu-devel] Re: [PATCH, RFC, WIP] TCG for Qemu target Sparc32/64, Blue Swirl, 2008/02/23
- Re: [Qemu-devel] Re: [PATCH, RFC, WIP] TCG for Qemu target Sparc32/64, Paul Brook, 2008/02/23
- Re: [Qemu-devel] Re: [PATCH, RFC, WIP] TCG for Qemu target Sparc32/64, Stuart Brady, 2008/02/23