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

Update unittests for compatibility with ARM Macs #19093

Merged
merged 4 commits into from Apr 29, 2024
Merged

Conversation

hrydgard
Copy link
Owner

Not sure why it started crashing, CI OS upgrade?

@hrydgard
Copy link
Owner Author

Aha, it seems it has started to run as ARM on CI... And, maybe the unittest hasn't worked correctly on ARM. The sampler test is obviously broken (since we don't have a sampler jit for ARM but the test insists on it).

@hrydgard
Copy link
Owner Author

The remaining failures are a minor different in the output of the VFPU instruction vh2f, (convert half to float, which the PSP's CPU does slightly different to the built-in instruction on ARM), and a slight difference in the software renderer in the test pspautotests/tests/gpu/vertices/texcoords.prx:

Correct:

image

Incorrect:

image

I'm gonna ignore that test for now, though it is a good one for checking the software renderer.

@hrydgard hrydgard changed the title Temporarily disable the JIT_IR unit test on Mac Update unittests for compatibility with ARM Macs Apr 29, 2024
@hrydgard hrydgard merged commit 5a0269a into master Apr 29, 2024
18 checks passed
@hrydgard hrydgard deleted the macos-fix-test-crash branch April 29, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant