qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v11 15/26] target/loongarch: Add branch instruction translati


From: Richard Henderson
Subject: Re: [PATCH v11 15/26] target/loongarch: Add branch instruction translation
Date: Sat, 20 Nov 2021 10:46:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 11/19/21 7:13 AM, Song Gao wrote:
+    tcg_gen_ld8u_tl(src1, cpu_env,
+                    offsetof(CPULoongArchState, cf[a->cj & 0x7]));

Mask of cj not needed; it's done by decode.

+&rr_dj_offs   rd rj offs
+&rr_offs      rj rd offs
...
+@rr_dj_offs16      .... .. ................ rj:5 rd:5    &rr_dj_offs  
offs=%offs16
+@rr_offs16         .... .. ................ rj:5 rd:5    &rr_offs     
offs=%offs16

These two are the same.


r~



reply via email to

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