[Qemu-devel] [Bug 547227] Re: qemu-system-m68k does not accept notw %d instruction

2010-06-02 Thread Natalia Portillo
As of QEMU 0.12.3, it only emulates ColdFire processors.

Coldfire no longer implement notw, only notl instruction, so this
behaviour is expected.

** Changed in: qemu
   Status: New = Invalid

-- 
qemu-system-m68k does not accept notw %d instruction
https://bugs.launchpad.net/bugs/547227
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: Invalid

Bug description:
The notw and notb instructions does not work with latest version of 
qemu-system-m68k. I've tried both 0.12.3 and the latest git version compiled 
about an hour ago, both running on Arch Linux. The executable fails with the 
following output:
 qemu-system-m68k -nographic -M an5206 -kernel test.elf
qemu: fatal: Illegal instruction: 4640 @ 0006
D0 =    A0 =    F0 =  (   0)
D1 =    A1 =    F1 =  (   0)
D2 =    A2 =    F2 =  (   0)
D3 =    A3 =    F3 =  (   0)
D4 =    A4 =    F4 =  (   0)
D5 =    A5 =    F5 =  (   0)
D6 =    A6 =    F6 =  (   0)
D7 =    A7 =    F7 =  (   0)
PC =    SR = 2700 - FPRESULT =0
zsh: abort  qemu-system-m68k -nographic -M an5206 -kernel test.elf

I've attached the test.elf file, which produces the bug. It contains the 
following:
 m68k-elf-objdump -m 68000 -D test.elf  
test.elf: file format elf32-m68k
Disassembly of section .text:
 start:
   0:   4e71nop
   2:   4e71nop
   4:   4e71nop
   6:   4640notw %d0
0008 loop:
   8:   6000 fffe   braw 8 loop

It works when removing the not instruction. There might be other non-working 
instructions, I've only tested a few.
Hope you'll get the bug fixed. Thanks.





[Qemu-devel] [Bug 547227] Re: qemu-system-m68k does not accept notw %d instruction

2010-06-02 Thread Andreas Färber
See `qemu-system-m68k -cpu ?`.

QEMU is not targeting it yet, but there's a project:
http://www.gitorious.org/qemu-m68k

-- 
qemu-system-m68k does not accept notw %d instruction
https://bugs.launchpad.net/bugs/547227
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: Invalid

Bug description:
The notw and notb instructions does not work with latest version of 
qemu-system-m68k. I've tried both 0.12.3 and the latest git version compiled 
about an hour ago, both running on Arch Linux. The executable fails with the 
following output:
 qemu-system-m68k -nographic -M an5206 -kernel test.elf
qemu: fatal: Illegal instruction: 4640 @ 0006
D0 =    A0 =    F0 =  (   0)
D1 =    A1 =    F1 =  (   0)
D2 =    A2 =    F2 =  (   0)
D3 =    A3 =    F3 =  (   0)
D4 =    A4 =    F4 =  (   0)
D5 =    A5 =    F5 =  (   0)
D6 =    A6 =    F6 =  (   0)
D7 =    A7 =    F7 =  (   0)
PC =    SR = 2700 - FPRESULT =0
zsh: abort  qemu-system-m68k -nographic -M an5206 -kernel test.elf

I've attached the test.elf file, which produces the bug. It contains the 
following:
 m68k-elf-objdump -m 68000 -D test.elf  
test.elf: file format elf32-m68k
Disassembly of section .text:
 start:
   0:   4e71nop
   2:   4e71nop
   4:   4e71nop
   6:   4640notw %d0
0008 loop:
   8:   6000 fffe   braw 8 loop

It works when removing the not instruction. There might be other non-working 
instructions, I've only tested a few.
Hope you'll get the bug fixed. Thanks.