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

Fix trace tests with x87 floating point #1153

Merged
merged 2 commits into from
May 19, 2024

Conversation

slipher
Copy link
Member

@slipher slipher commented May 18, 2024

Fixes CM unit tests breaking with SSE disabled, as reported by @illwieckz.

slipher added 2 commits May 17, 2024 22:25
Annoyingly the stdout and stderr seem to be interleaved, but it's better
than nothing.
With SSE disabled, the default tolerance of EXPECT_FLOAT_EQ was too
tight for some tests to pass. (The non-SSE results are probably actually
closer to the true value; the difference probably arises from using
80-bit-precision x87 operations). The expected value was set by just
running the code and seeing what it output. Independent of compiler or
OS, the x87-based results appear to form a separate cluster from the SSE
ones.

Also test the plane returned by the trace in a couple tests.
@slipher slipher merged commit 994ed52 into DaemonEngine:master May 19, 2024
9 checks passed
@slipher slipher deleted the fix-tests-x87 branch May 19, 2024 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants