From: Thiemo Seufer <ths@networkno.de>
To: "Andreas Färber" <andreas.faerber@web.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] TCG: 64-bit temporaries on 32-bit target?
Date: Wed, 3 Sep 2008 13:37:44 +0200 [thread overview]
Message-ID: <20080903113744.GD17474@networkno.de> (raw)
In-Reply-To: <3C0132E5-E97D-43FA-9E97-47B8BE82E5BB@web.de>
Andreas Färber wrote:
> Hello,
>
> On PowerPC there appear to be some "SPE" instructions that operate on
> 64-bit registers while the rest of the target is 32-bit. In dyngen code,
> they can easily use T0_64 then.
>
> In TCG however, cpu_T[0] is tl==i32 for ppc, only for ppc64 would
> cpu_T[0] work due to tl==i64. At the same time I was told I can't use
> tcg_gen_movi_i32 for tl cpu_T[n], so it seems we can't just
> unconditionally use i64 for cpu_T[0..2] either?
>
> This issue prevents dyngen op_load_gpr_{T0,T1} from being removed
> because ppc64 gen_op_load_gpr64_{T0,T1} reuses them.
>
> Any suggestions appreciated!
A similiar problem exists for MIPS32 with 64-bit FPU, I introduced
e.g T64_0 and T64_1 and added explicit conversions to 32-bit registers/
register pairs where necessary.
Thiemo
prev parent reply other threads:[~2008-09-03 11:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 0:00 [Qemu-devel] TCG: 64-bit temporaries on 32-bit target? Andreas Färber
2008-09-03 5:01 ` Aurelien Jarno
2008-09-03 11:37 ` Thiemo Seufer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080903113744.GD17474@networkno.de \
--to=ths@networkno.de \
--cc=andreas.faerber@web.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.