qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v21 4/7] target/avr: Add instruction translation


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v21 4/7] target/avr: Add instruction translation
Date: Tue, 11 Jun 2019 13:47:10 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 6/11/19 1:21 PM, Michael Rolnik wrote:
> I merged all you fixes and I get an assert(use_icount) in cpu_loop_exec_tb
> function, it happens on an instruction following SBRC.
> what might cause it?

No idea.  What is your test case?  And your tree, just in case there was an
error in the merging.

Looking through output from

  qemu-avr-tests/instruction-tests/bin/SBR.elf

     14a:       00 fc           sbrc    r0, 0
     14c:       0f ef           ldi     r16, 0xFF       ; 255

it works for me:

 ---- 000000a5
 movi_i32 tmp2,$0x1
 and_i32 tmp1,r0,tmp2

 ---- 000000a6
 movi_i32 tmp2,$0x0
 brcond_i32 tmp1,tmp2,eq,$L1
 movi_i32 r16,$0xff
 set_label $L1


r~



reply via email to

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