qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] ColdFire/m68k target


From: Paul Brook
Subject: [Qemu-devel] ColdFire/m68k target
Date: Sun, 22 Oct 2006 01:44:21 +0100
User-agent: KMail/1.9.4

I've just committed ColdFire/M68K target support to cvs. This implements 
usermode emulation for ColdFire CPUs, including the FPU. The CPU emulation 
has been reasonably well tested, but linux syscall emulation only lightly 
tested.

For those that don't know, ColdFire is a subset of the old m68k architecture, 
with a few minor differences, and a slightly different FPU.

I'll probably be implementing full system emulation sometime (Freescale 
M5xxxEVB dev board).

M68k code will not run on the current emulation. Implementing the missing 68k 
bits (addressing modes and bitfield instructions) probably wouldn't be that 
hard. Implementing 68881 FPU emulation is a bit harder 'cos it 
uses "extended" precision registers.

The code is a bit different to most other qemu targets because I originally 
wrote it for my code generation backend rather than dyngen. The main 
translation code is unmodified, with glue to make it work with dyngen. For 
this reason the generated code isn't as efficient as it could be. 

Paul

P.S.
Anyone wanting to play with ColdFire emulation can find toolchains at
http://www.codesourcery.com/gnu_toolchains/coldfire/index_html




reply via email to

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