All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Endian and userspace issues
@ 2005-01-04 19:44 anarkhos
  2005-01-04 20:16 ` Paul Brook
  0 siblings, 1 reply; 11+ messages in thread
From: anarkhos @ 2005-01-04 19:44 UTC (permalink / raw)
  To: qemu-devel

Hello,
	I've read the technical documentation, but there are some issues left unanswered in my head. I have very little experience with the x86 ISA so please bear with me if I missed something obvious.

	The short version of this email is: 

Has anyone considered emulating little endian CPUs on big endian platforms by emulating a big endian version of the CPU? I believe VirtualPC 5 does this (not sure about 6). Obviously there is a speed advantage in doing this, but the other advantage lies in the ability for non-native little endian executables to call big endian libraries without having to swap bytes.

	I became interested in QEMU when a Darwin port was revealed. Unfortunately, user mode emulation isn't supported yet. However, even when it is, I don't think (as I understand it) it will allow non-native binaries (in either ELF or Mach-O format) to call native ones. I found it interesting the documentation touts that user mode emulation can run WINE, but the entire WINE set of libs would have to run under emulation.

	I understand that there is an inherent difficulty in that x86 executables assume they are running in little endian mode (I call it mode since some CPUs can run in either), but if one wants to have a shared user space with one set of natively optimized libraries what better way to implement it? We would have faster linking and faster CPU emulation.

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

end of thread, other threads:[~2005-01-05 14:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-04 19:44 [Qemu-devel] Endian and userspace issues anarkhos
2005-01-04 20:16 ` Paul Brook
2005-01-04 20:37   ` anarkhos
2005-01-04 21:22     ` Paul Brook
2005-01-05  4:11   ` John Davidorff Pell
2005-01-05  4:17     ` anarkhos
     [not found]     ` <p0610051ebe011a73c421@24.20.233.105>
2005-01-05  6:00       ` Karl Magdsick
2005-01-05 10:34         ` Gwenole Beauchesne
2005-01-05 13:03           ` Daniel Egger
2005-01-05 13:38             ` Magnus Damm
2005-01-05 14:00               ` Daniel Egger

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.