Jump to content

OS X for SSE (qemu)


  • Please log in to reply
416 replies to this topic

#121
Dragon

Dragon

    Insanely Dragon

  • Retired Developers
  • 414 posts
  • Gender:Male
  • Location:InsanelyMac forum
it emulates SSE2 and SSE3.
and i will give OS X a try this weekend when i get time to move the p3 out of my sisters room :dev:

#122
munky

munky

    Agent of Evolution

  • Retired
  • 2,901 posts
  • Location:The Land of Hairy-Arsed Highlanders
Rock on :thumbsup_anim:

#123
Baltazar

Baltazar

    InsanelyMac Protégé

  • Members
  • Pip
  • 38 posts
Yeah, go crazy! ;)

#124
Cruxado

Cruxado

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male
  • Location:Puerto Rico
I've been out for awhile... TESTs are flying everywhere here at the Univ.

I'll be testing using the SLAX version and OS X 10.4.6 x86

#125
mac-mini

mac-mini

    1337 avatar made by Prawker

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,090 posts
  • Gender:Male
  • Location:127.0.0.1
no im not using the modded QEMU

Edited by mac-mini, 09 February 2007 - 02:48 AM.


#126
Dragon

Dragon

    Insanely Dragon

  • Retired Developers
  • 414 posts
  • Gender:Male
  • Location:InsanelyMac forum
i've made my own slax cd with qemu and pearpc modules and am just about to burn so i can test it on the p3.

This is the pearpc module required for SLAX.

Attached Files



#127
Dragon

Dragon

    Insanely Dragon

  • Retired Developers
  • 414 posts
  • Gender:Male
  • Location:InsanelyMac forum
Setting up pearpc on the p3 tomorrow morning, also try qemu with kqemu/qvm86.

#128
munky

munky

    Agent of Evolution

  • Retired
  • 2,901 posts
  • Location:The Land of Hairy-Arsed Highlanders
good luck dude - cant wait :pirate2:

#129
Dragon

Dragon

    Insanely Dragon

  • Retired Developers
  • 414 posts
  • Gender:Male
  • Location:InsanelyMac forum
Kqemu module.

Attached Files



#130
Dragon

Dragon

    Insanely Dragon

  • Retired Developers
  • 414 posts
  • Gender:Male
  • Location:InsanelyMac forum
This is qmv86... i'm just converting all these from rpms and storing them here.
Sorry for the "spam".

Attached Files



#131
Pu7o

Pu7o

    InsanelyMac Sage

  • Donators
  • 351 posts
The thing is, kqemu and qvm86 change qemu from an emulator into a virtualizer. So, if you run qemu on a P3 with Kqemu/qvm86, you don't get SSE2/3, and therefore you don't run Mac OS X.

#132
Dragon

Dragon

    Insanely Dragon

  • Retired Developers
  • 414 posts
  • Gender:Male
  • Location:InsanelyMac forum
You are right... we have to use both pearpc and qemu (with no accelerator).

#133
mac-mini

mac-mini

    1337 avatar made by Prawker

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,090 posts
  • Gender:Male
  • Location:127.0.0.1
so thats my problem in windows im using kqemu

#134
munky

munky

    Agent of Evolution

  • Retired
  • 2,901 posts
  • Location:The Land of Hairy-Arsed Highlanders
so there's no way to virtualise non-SSE instructions and emulate the rest?

maxxuss used to trap the exception raised by the lack of an SSE3 instruction and trapped it to call emulation code, i think. is there any way we could do something similar?

#135
Dragon

Dragon

    Insanely Dragon

  • Retired Developers
  • 414 posts
  • Gender:Male
  • Location:InsanelyMac forum
qvm86 says :
Virtualisation allows "emulated" code to be run natively on the host cpu, using the CPU protection mechanisms to intercept and emulate priveleged events.

i'm wondering if it's possible to set which events are "priveleged".
maybe we could set all SSE2 calls to be emulated and the rest virtualized then.

#136
Embio

Embio

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 976 posts
surely emulating instructions on something that runs them natively would be fast anyway, because it isnt going to take much effort to do? thats the nature of computers - it has to be faster than x86 on PPC or the other way round - no?

#137
munky

munky

    Agent of Evolution

  • Retired
  • 2,901 posts
  • Location:The Land of Hairy-Arsed Highlanders
Embio - dont bet on it. Emulating a full x86 processor doesnt get any faster just because your executing your emulation code on an x86 processor. You have to specifically code to take advantage of x86 features if you want to optimise. Thats why QEMU on x86 is slow without the accelerator module, which does offload the work to the real processor.

What we want is a hybrid approach where instructions supported by the processor are run 'natively' or at least executed in a virtualisation-style way, and instructions which are not supported (eg SSE, SSE2, SSE3) are emulated in software.

#138
JaS

JaS

    InsanelyMac Legend

  • Gurus
  • 1,487 posts
  • Gender:Male
I wonder if the same sse2 emulation that is used in Qemu can be ported to the kernel and be done with it. Is the Qemu sse2 emulation avalable in source code somewhere ...

#139
Embio

Embio

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 976 posts
Qemu is open source, thats going back to my original suggestion of integration. Obviously its the easiest way of doing things, and the fastest but we need someone with a lot of experience in this area :D

Edited by Embio, 12 February 2007 - 09:14 PM.


#140
munky

munky

    Agent of Evolution

  • Retired
  • 2,901 posts
  • Location:The Land of Hairy-Arsed Highlanders
that would be a great solution, and would negate the need for qemu and linux. any volunteers? :D

EDIT: I think ops_sse.h in target_i386 of the qemu source will provide interesting reading... :2cents:

EDIT2: If this is possible, it would be HUGE! Imagine all the 'disenfranchised' machines which could be supported... ;)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy