qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Darwin asm fix


From: Pierre d'Herbemont
Subject: Re: [Qemu-devel] [PATCH] Darwin asm fix
Date: Wed, 21 Jan 2004 21:30:10 +0100


On 21 janv. 04, at 21:09, Gwenole Beauchesne wrote:

In practise, and since you appear to forcibly define __powerpc__ (though __ppc__ exists), this means that you will have to arrange testandset() asm statements to use \n instead of ';' as the instruction separator.


Thanks! I didn't notice this one, here is the correction. I prefer to define __powerpc__ because I think it is better to have the same asm instruction base (or C functions) between ppc platforms, and fix the assembly if it needs to be done, than having long code dupplication, or double #if defined(__ppc__) || defined(__powerpc__).

Also regarding an eventual Mac OS X port, I have nothing functional... But I did an old dyngen (from qemu 0.4.3) mach-o port which should be mostly working, so it will be easier to do the full-port on darwin since it won't require a cross elf compiler - as soon as I get it working in latest qemu.

Pierre

Attachment: qemuasm2.diff.txt
Description: Text document


reply via email to

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