qemu-devel
[Top][All Lists]
Advanced

[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.

Attachment: concat_ops.diff
Description: plain/text

Attachment: use_concat_ops.diff
Description: plain/text


reply via email to

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