SSE in DOS under JEMM386 ?? (DOSX)
> > It seems that you have to enable the CR4 bit 9 (OSFXSR) as well
> > as enable CR0's MP (bit 1) but disable CR0's EM (bit 2).
>
> And the problem is - why don't you do this ?
For one thing, I don't really know what I'm doing, it's a bit out of my league. Anyways, even if I ignored this, it works under XP. But my goal is to work (also) under pure DOS.
> You compiled a DGJPP port ? The source seems to access those bits - did
> you add this code ?
Yes. PAQ8o8 is the latest PAQ8 series compressor/archiver, and I made it automatically detect NOASM/MMX/SSE2 instead of requiring a recompile or separate .EXE.
> Anyway, all CR's are privileged resources, thus you
> will need a Ring0 DPMI host (like CWSDPR0 or WDOSX) or a host emulating CR
> accesses (HDPMI32).
I didn't try with HDPMI32. Actually, I was using XP, and now I'm using Vista. I'm somewhat limited in what cpus I can try at the moment.
> Or did you try with the greatest CWSDPMI only and
> didn't work ?
Under QEMU, it reports a page fault. But PMODETSR (from my disk #2) seems to work, at least with HIMEMX.
> Is this the problem ? But why related to JEMM386/HIMEMX ?
>
I need to try in real DOS (eventually), but in QEMU, trying SSE2 w/ PMODETSR under JEMM386 crashes QEMU! (Doh!)
> > I really wish I could test under Vista
>
> Vista is the best DOS ?
I wish I could use the same DOS binary under Vista that works fine under XP. Oh well.
> You didn't really describe the problem.
Problem: SSE2 doesn't work without OS support (e.g. which DOS doesn't implicitly have). I weakly tried, but I'm not sure I did it correctly.
> P.S.: SSSSSE5 was released recently. SSE/SSE2 is obsolete
SSE5 is AMD's latest, to be implemented in 2009. SSE4.1 and SSE4.2 are Intel's crud to be released sometime next year (??). SSSE3 is only supported on Intel's Core 2. But my AMD Athlon64x2 supports SSE, SSE2, SSE3 (as opposed to Athlon XP only supporting SSE). From what I've been told, 3dnow! was AMD's answer to MMX, and SSE2 is actually what SSE should've been (and SSE2 obsoletes MMX in most/all ways).
> TEST: OK, all what I get from your port is a Page Fault
Under real DOS? QEMU or BOCHS? CWSDPMI or other DPMI host? JEMM386 or HIMEMX?
> Hint: write a small test prog using FASM with or without enabling the CR
> bits and executing just 1 SS instruction ... based on USEDPMI.ASM or my
> DOS/32A example.
There's already a FASM example, and it works in pure DOS, but it's pretty simplistic. I want it to work under DJGPP. (Most of my problems are lack of cpus to test. QEMU is probably not 100% accurate/reliable.)
> BTW: Why bother with Causeway, DOS/32A reportedly enables SSE also
Well, the .ASM part doesn't work with OpenWatcom (yet) because of different calling conventions which I'm too dumb to understand so far.
> PPSS: FB graphics
I know, I know.
---
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