All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Sparc64 host support update: i386-user builds
@ 2006-07-01 20:16 Blue Swirl
  2006-07-03 13:59 ` Paul Brook
  0 siblings, 1 reply; 4+ messages in thread
From: Blue Swirl @ 2006-07-01 20:16 UTC (permalink / raw)
  To: fabrice, paul; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

I got the i386-user to build by moving the troublesome SSE ops to helper 
(only for Sparc32/64, no effect at least to x86 host). The emulator crashes 
when executing the first TB, code generation and register use could be 
suspected. The patch makes ops_sse.h more confusing to read. Any comments?

The remaining target specific problem with PPC FPU ops could be solved by 
changing PPC to soft float. Would that be OK?

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

[-- Attachment #2: sparc64_host.diff.bz2 --]
[-- Type: application/octet-stream, Size: 6942 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] Sparc64 host support update: i386-user builds
  2006-07-01 20:16 [Qemu-devel] [PATCH] Sparc64 host support update: i386-user builds Blue Swirl
@ 2006-07-03 13:59 ` Paul Brook
  2006-07-03 16:02   ` Blue Swirl
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Brook @ 2006-07-03 13:59 UTC (permalink / raw)
  To: qemu-devel

> I got the i386-user to build by moving the troublesome SSE ops to helper
> (only for Sparc32/64, no effect at least to x86 host). The emulator crashes
> when executing the first TB, code generation and register use could be
> suspected. The patch makes ops_sse.h more confusing to read. Any comments?

Requiring that ops don't use a stack frame doesn't seem like a realistic 
constraint.

> The remaining target specific problem with PPC FPU ops could be solved by
> changing PPC to soft float. Would that be OK?

The use of soft-float should be a host decision, not a target decision.

All targets should be converted to use the softfloat.h interface. Hosts can 
then choose to use with the softfloat library or the native implementation 
depending on the host FP capabilities.

Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] Sparc64 host support update: i386-user builds
  2006-07-03 13:59 ` Paul Brook
@ 2006-07-03 16:02   ` Blue Swirl
  0 siblings, 0 replies; 4+ messages in thread
From: Blue Swirl @ 2006-07-03 16:02 UTC (permalink / raw)
  To: paul, fabrice; +Cc: qemu-devel

>Requiring that ops don't use a stack frame doesn't seem like a realistic
>constraint.

It can be done, see my latest patch. Of course there's no point doing it if 
there is no real need.

> > The remaining target specific problem with PPC FPU ops could be solved 
>by
> > changing PPC to soft float. Would that be OK?
>
>The use of soft-float should be a host decision, not a target decision.
>
>All targets should be converted to use the softfloat.h interface. Hosts can
>then choose to use with the softfloat library or the native implementation
>depending on the host FP capabilities.

Good, I thought using softfloat.h interface implied softfloat library use.

I'll make an updated Sparc64 patch without any sse mess, and separate the 
softfloat.h interface changes.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] Sparc64 host support update: i386-user builds
@ 2006-07-06 17:56 Blue Swirl
  0 siblings, 0 replies; 4+ messages in thread
From: Blue Swirl @ 2006-07-06 17:56 UTC (permalink / raw)
  To: paul, fabrice; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

I made a simpler version of the Sparc64 patch which doesn't attempt to avoid 
the stack use. All targets build on Sparc64 host. I copied the relevant 
parts of the fixes to Sparc32 also.

The PPC patch is also updated, but I have no interest in maintaining this 
patch in the future.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

[-- Attachment #2: sparc64_host.diff.bz2 --]
[-- Type: application/octet-stream, Size: 4324 bytes --]

[-- Attachment #3: ppc_softfloat.diff.bz2 --]
[-- Type: application/octet-stream, Size: 1861 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-06 17:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-01 20:16 [Qemu-devel] [PATCH] Sparc64 host support update: i386-user builds Blue Swirl
2006-07-03 13:59 ` Paul Brook
2006-07-03 16:02   ` Blue Swirl
  -- strict thread matches above, loose matches on Subject: below --
2006-07-06 17:56 Blue Swirl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.