|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH RFC v19 00/13] QEMU AVR 8 bit cores |
Date: | Tue, 4 Jul 2017 12:38:01 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 06/21/2017 09:15 PM, Michael Rolnik wrote:
Hi all, are there any action items for me?
What kind of testing are you doing for this?I just briefly browsed through the code again and happened to see that ROR has a critical typo. Considering that ROR must be used for multi-byte shifts, I'm wondering how you wouldn't have found this via even cursory testing.
+int avr_translate_ROR(CPUAVRState *env, DisasContext *ctx, uint32_t opcode) +{ + TCGv Rd = cpu_r[ROR_Rd(opcode)]; + TCGv t0 = tcg_temp_new_i32(); + + tcg_gen_shli_tl(t0, cpu_Cf, 7); + tcg_gen_andi_tl(cpu_Cf, Rd, 0);
r~
[Prev in Thread] | Current Thread | [Next in Thread] |