[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~
- [Qemu-devel] [PATCH v21 1/7] target/avr: Add outward facing interfaces and core CPU logic, (continued)
- [Qemu-devel] [PATCH v21 1/7] target/avr: Add outward facing interfaces and core CPU logic, Michael Rolnik, 2019/06/06
- [Qemu-devel] [PATCH v21 3/7] target/avr: Add instruction decoding, Michael Rolnik, 2019/06/06
- [Qemu-devel] [PATCH v21 4/7] target/avr: Add instruction translation, Michael Rolnik, 2019/06/06
- Re: [Qemu-devel] [PATCH v21 4/7] target/avr: Add instruction translation, Richard Henderson, 2019/06/10
- Re: [Qemu-devel] [PATCH v21 4/7] target/avr: Add instruction translation, Richard Henderson, 2019/06/10
- Re: [Qemu-devel] [PATCH v21 4/7] target/avr: Add instruction translation, Richard Henderson, 2019/06/10
- Re: [Qemu-devel] [PATCH v21 4/7] target/avr: Add instruction translation, Richard Henderson, 2019/06/10
- Re: [Qemu-devel] [PATCH v21 4/7] target/avr: Add instruction translation, Richard Henderson, 2019/06/10
[Qemu-devel] [PATCH v21 6/7] target/avr: Add example board configuration, Michael Rolnik, 2019/06/06
[Qemu-devel] [PATCH v21 5/7] target/avr: Add limited support for USART and 16 bit timer peripherals, Michael Rolnik, 2019/06/06
[Qemu-devel] [PATCH v21 7/7] target/avr: Register AVR support with the rest of QEMU, the build system, and the MAINTAINERS file, Michael Rolnik, 2019/06/06
[Qemu-devel] [PATCH v21 2/7] target/avr: Add instruction helpers, Michael Rolnik, 2019/06/06