Re: mmx instruction support on bohcs
Hatte John <[email protected]> Fri, 26 Apr 2013 18:30:58 +0800
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <CAOo4JD=kU02bC-tqQPRmRcmC64MDbGk-BMBQ8um810K0CcHapw@mail.gmail.com> |
thanks ! I have got what you mean! I should enable some characters I want ,not modify its source . bochs is abstract than os , So i got confused ,consider it as fixed hardware.not programmable. . . . 2013/4/26 Stanislav <[email protected]> > I bought a car and filled it with water instead of gasoline so it doesn’t > work.**** > > What should change in the car firmware to make it working ?**** > > ** ** > > I strongly suggesting you to read Intel Software Developers manual first.* > *** > > ** ** > > Stanislav**** > > ** ** > > *From:* Hatte John [mailto:[email protected]] > *Sent:* Friday, April 26, 2013 6:14 AM > *To:* Thore Sittly > *Cc:* Stanislav; [email protected] > *Subject:* Re: Re: [Bochs-developers] mmx instruction support on bohcs**** > > ** ** > > Need I add these to bochs source ? if I want to enable sse .**** > > ** ** > > ** ** > > 2013/4/26 Thore Sittly <[email protected]>**** > > Maybe this should work:**** > > ;now enable SSE and the like**** > > mov eax, cr0**** > > and ax, 0xFFFB ;clear coprocessor emulation CR0.EM**** > > or ax, 0x2 ;set coprocessor monitoring CR0.MP**** > > mov cr0, eax**** > > mov eax, cr4**** > > or ax, 3 << 9 ;set CR4.OSFXSR and CR4.OSXMMEXCPT at the same time**** > > mov cr4, eax**** > > ret**** > > **** > > **** > > ** ** > ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ bochs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bochs-developers