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: Paul Brook
Subject: Re: [Qemu-devel] [5281] Use the new concat_i32_i64 op for std and stda
Date: Sun, 21 Sep 2008 17:41:53 +0100
User-agent: KMail/1.9.9

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

Paul




reply via email to

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