qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 2/x v2] [ppc] Convert op_reset_T0, op_set_{T0, T1} t


From: Andreas Färber
Subject: [Qemu-devel] [PATCH 2/x v2] [ppc] Convert op_reset_T0, op_set_{T0, T1} to TCG
Date: Tue, 2 Sep 2008 18:44:59 +0200


Am 02.09.2008 um 17:58 schrieb Aurelien Jarno:

On Tue, Sep 02, 2008 at 04:32:11PM +0200, Andreas Färber wrote:
Hello,

The attached patch replaces op_reset_T0, op_set_T0 and op_set_T1 with
tcg_gen_movi_{tl,i32}.

Given that cpu_T* are TL registers, the use of tcg_gen_movi_i32() is not correct here. tcg_gen_movi_tl() should use instead. If the value really
have to be casted to 32-bit, this as to be done in the argument.

Done. (There appeared to be no need for casting.)

Signed-off-by: Andreas Faerber <address@hidden>

Andreas

Attachment: op_reset-set-v2.diff
Description: Binary data



reply via email to

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