SSE in DOS under JEMM386 ?? (DOSX)
> > At least, from what I gather,
> > you have to turn on the MP bit and turn off the EM bit in CR0 and then
> > enable OSFXSR in CR4.
>
> ???. Sounds cool at least!
Turn off the Emulate Math bit and turn on the Monitor Processor bit (something about FPU WAIT or whatever). Then, turn on the OSFXSR bit (if available, to tell the cpu that the OS supports SSE).
> What do you mean with "without the need for FXSAVE/FXRSTOR"? These are
> simple application level instructions.
I think Windows does FXSAVE/FXRSTOR for you, hence the idea that the OS needs to support it. (At least, saving/restoring manually just slows it down a lot, at least under XP, because it's already doing so, at least from what I can tell under OpenWatcom's WD.)
---
Know your limits.h
Complete thread:
- SSE in DOS under JEMM386 ?? - Rugxulo, 03.01.2008, 06:54 (DOSX)
- SSE in DOS under JEMM386 ?? - DOS386, 03.01.2008, 08:12
- SSE in DOS under JEMM386 ?? - Rugxulo, 04.01.2008, 01:03
- SSE in DOS under JEMM386 ?? - Japheth, 03.01.2008, 09:19
- SSE in DOS under JEMM386 ?? - Rugxulo, 04.01.2008, 01:05
- SSE in DOS under JEMM386 ?? - Japheth, 04.01.2008, 09:44
- SSE in HDPMI / bug (c/c) - DOS386, 04.01.2008, 10:20
- SSE in HDPMI / bug (c/c) - Japheth, 04.01.2008, 11:12
- SSE in HDPMI / bug (c/c) - Rugxulo, 04.01.2008, 22:39
- SSE in HDPMI / bug (c/c) - Japheth, 04.01.2008, 11:12
- SSE in DOS under JEMM386 ?? - Rugxulo, 07.01.2008, 14:49
- SSE in DOS under JEMM386 ?? - Japheth, 07.01.2008, 17:42
- SSE in DOS under JEMM386 ?? - Rugxulo, 09.01.2008, 01:23
- SSE in DOS under JEMM386 ?? - Rugxulo, 09.01.2008, 10:46
- SSE in DOS -> Illegal Instruction Exception - DOS386, 10.01.2008, 01:22
- SSE in DOS -> Illegal Instruction Exception - Steve, 10.01.2008, 08:46
- SSE in DOS -> alignment issues - Rugxulo, 10.01.2008, 22:21
- SSE in DOS under JEMM386 ?? - Japheth, 10.01.2008, 17:19
- SSE in DOS -> Illegal Instruction Exception - DOS386, 10.01.2008, 01:22
- SSE in DOS under JEMM386 ?? - Rugxulo, 09.01.2008, 10:46
- SSE in DOS under JEMM386 ?? - Rugxulo, 09.01.2008, 01:23
- SSE in DOS under JEMM386 ?? - Japheth, 07.01.2008, 17:42
- SSE in HDPMI / bug (c/c) - DOS386, 04.01.2008, 10:20
- SSE in DOS under JEMM386 ?? - Japheth, 04.01.2008, 09:44
- SSE in DOS under JEMM386 ?? - Rugxulo, 04.01.2008, 01:05
- SSE in pure DOS - Rugxulo, 04.01.2008, 06:09
- Secure Socket Extremism in DOS | You maybe have a Page Foul - DOS386, 04.01.2008, 07:52
- SSE in DOS | Page Fault | JEMM386 / HDPMI32 - Rugxulo, 04.01.2008, 22:47
- SSE in DOS | Page Fault <- YES, your bug | HDPMI32 - DOS386, 05.01.2008, 02:19
- SSE2 in DOS | PAQ8o8z (Jan. 6) - Rugxulo, 06.01.2008, 05:09
- SSE2 in DOS | PAQ8o8z (Jan. 6) - DOS386, 08.01.2008, 02:00
- SSE2 in DOS | PAQ8o8z (Jan. 6) - Rugxulo, 06.01.2008, 05:09
- SSE in DOS | Page Fault <- YES, your bug | HDPMI32 - DOS386, 05.01.2008, 02:19
- SSE in DOS | Page Fault | JEMM386 / HDPMI32 - Rugxulo, 04.01.2008, 22:47
- Secure Socket Extremism in DOS | You maybe have a Page Foul - DOS386, 04.01.2008, 07:52
- MS the "only hope"? - Japheth, 04.01.2008, 12:11
- MS the "only hope"? - RayeR, 04.01.2008, 18:09
- MS the "only hope"? - Japheth, 04.01.2008, 19:16
- MS the "only hope"? - RayeR, 04.01.2008, 22:17
- MS the "only hope"? (Vista DPMI bug: 32 MB max.) - Rugxulo, 04.01.2008, 22:31
- MS the "only hope" ? NOT for me !!! - DOS386, 05.01.2008, 02:22
- MS the "only hope" ? NOT for me !!! - RayeR, 05.01.2008, 18:58
- MS the "only hope" ? NOT for me !!! Multiboot - DOS386, 08.01.2008, 01:47
- NTVDM forever! - Japheth, 08.01.2008, 09:02
- MS the "only hope" ? NOT for me !!! Multiboot - Steve, 08.01.2008, 13:54
- MS the "only hope" ? NOT for me !!! Multiboot - Rugxulo, 09.01.2008, 01:19
- MS the "only hope" ? NOT for me !!! Multiboot - RayeR, 14.01.2008, 21:34
- MS the "only hope" ? NOT for me !!! Multiboot - DOS386, 08.01.2008, 01:47
- MS the "only hope" ? NOT for me !!! - RayeR, 05.01.2008, 18:58
- A TSR worth a try in Vista - Japheth, 05.01.2008, 11:04
- A TSR worth a try in Vista - Rugxulo, 05.01.2008, 21:08
- A TSR worth a try in Vista - Khusraw, 07.01.2008, 11:06
- A TSR worth a try in Vista - Rugxulo, 07.01.2008, 14:44
- A TSR worth a try in Vista - Japheth, 07.01.2008, 17:34
- A TSR worth a try in Vista - Rugxulo, 09.01.2008, 01:09
- A TSR worth a try in Vista - Khusraw, 07.01.2008, 11:06
- A TSR worth a try in Vista - Rugxulo, 05.01.2008, 21:08
- MS the "only hope" ? NOT for me !!! - DOS386, 05.01.2008, 02:22
- MS the "only hope"? - Japheth, 04.01.2008, 19:16
- MS the "only hope"? - RayeR, 04.01.2008, 18:09
- SSE in DOS under JEMM386 ?? - DOS386, 03.01.2008, 08:12