[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda
From: |
Thiemo Seufer |
Subject: |
Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda |
Date: |
Sun, 21 Sep 2008 23:19:08 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Blue Swirl wrote:
> On 9/21/08, Paul Brook <address@hidden> wrote:
> > > Like these patches?
> >
> > > +static inline void tcg_gen_concat_i64_i64(TCGv dest, TCGv low, TCGv
> > high)
> > > +{
> > > + TCGv tmp = tcg_temp_new(TCG_TYPE_I64);
> > > + tcg_gen_shli_i64(tmp, high, 32);
> > > + tcg_gen_or_i64(dest, low, tmp);
> > > + tcg_temp_free(tmp);
> > > +}
> >
> > This should use concat_i32_i64 on 32-bit hosts.
> >
> > Ok with that change, the rename I suggested in my previous mail, and if you
> > add documentation to tcg/README.
>
> Updated. I'll run a couple of tests.
I noticed I could also use the complement ("split"?) to those
instructions in the mips backend. Maybe the same is true for
sparc.
Thiemo
- [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda, Blue Swirl, 2008/09/21
- Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda, Paul Brook, 2008/09/21
- Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda, Blue Swirl, 2008/09/21
- Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda, Blue Swirl, 2008/09/21
- Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda, Paul Brook, 2008/09/21
- Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda, Blue Swirl, 2008/09/21
- Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda,
Thiemo Seufer <=
- Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda, Blue Swirl, 2008/09/22
- Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda, Paul Brook, 2008/09/22
- Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda, Paul Brook, 2008/09/21