qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/4] target-tricore: Added new MOV instruction v


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 3/4] target-tricore: Added new MOV instruction variant
Date: Sat, 4 Jun 2016 10:04:55 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

On 05/29/2016 03:59 PM, address@hidden wrote:
+        tcg_gen_mov_tl(cpu_gpr_d[r3], cpu_gpr_d[r1]);
+        tcg_gen_mov_tl(cpu_gpr_d[(r3 + 1)], cpu_gpr_d[r2]);

Don't add pointless parenthesis.

But more importantly, you need to worry about overlap between r3 and r2.
In the general case you'll need a temporary to perform this move.


r~



reply via email to

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