Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMX/SSE bugs (SHUFPS, missing PEXTRW/PINSRW, SSE version of PSADBW) #5260

Open
2 tasks done
joncampbell123 opened this issue Oct 28, 2024 · 8 comments
Open
2 tasks done
Labels

Comments

@joncampbell123
Copy link
Owner

Describe the bug

image

Steps to reproduce the behaviour

Run Quake 3 with Voodoo 3 drivers

Expected behavior

No response

What operating system(s) this bug have occurred on?

Unknown

What version(s) of DOSBox-X have this bug?

The latest, I assume

Used configuration

No response

Output log

No response

Additional information

No response

Have you checked that no similar bug report(s) exist?

  • I have searched and didn't find any similar bug report.

Code of Conduct & Contributing Guidelines

  • I agree to follow the code of conduct and the contributing guidelines.
@joncampbell123
Copy link
Owner Author

Eugh, I've mixed up MMX and SSE opcodes. That's going to need some cleanup.

@fuel-pcbox
Copy link
Contributor

This is why i did SSE1, SSE2, and SSE3 all in separate files from MMX lol

@BridgeHeadland
Copy link

What happened to the Windows installer version of the last nightly build?
https://github.com/joncampbell123/dosbox-x/actions/runs/11906973804

@joncampbell123
Copy link
Owner Author

It looks like I implemented SSE instructions where the MMX version should go.

@joncampbell123
Copy link
Owner Author

What happened to the Windows installer version of the last nightly build? https://github.com/joncampbell123/dosbox-x/actions/runs/11906973804

Suddenly the CI build doesn't recognize the ARM desktop build? https://github.com/joncampbell123/dosbox-x/actions/runs/11906973804/job/33179903818#step:12:27

@fuel-pcbox
Copy link
Contributor

What happened to the Windows installer version of the last nightly build? https://github.com/joncampbell123/dosbox-x/actions/runs/11906973804

That is completely unrelated to this issue. Why did you post that here? You could've notified Jon of this on the Discord or something or made a new GitHub issue.

@the-burrito-triangle
Copy link

Maybe this isn't relevant here, but LLVM-Clang and GCC emulate MMX with SSE and SSE2, maybe looking at their implementation might help? If not, sorry for the noise.

https://www.phoronix.com/news/LLVM-Clang-MMX-Intrinsics-SSE2
https://www.phoronix.com/news/GCC-MMX-Intrinsics-With-SSE
https://www.phoronix.com/news/GCC-10-Emulating-MMX-With-SSE

@fuel-pcbox
Copy link
Contributor

PCBox emulates both MMX and SSE1 fairly well at this point, so its implementation may also help :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants