[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: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda |
Date: |
Sun, 21 Sep 2008 20:02:31 +0300 |
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.
concat_ops.diff
Description: plain/text
use_concat_ops.diff
Description: plain/text
- [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 <=
- Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda, Thiemo Seufer, 2008/09/21
- 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