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

Implement intrinsic for total order comparison on floating point types. #205

Merged
merged 1 commit into from Apr 4, 2022

Conversation

soc
Copy link
Contributor

@soc soc commented Jun 2, 2020

No description provided.

@soc

This comment has been minimized.

@soc
Copy link
Contributor Author

soc commented Aug 9, 2020

Welp, looks like it's broken on cannon now – I can't sort out what the problem here is...

For reference, here is the Godbolt output, and here is the Dora implementation (that works).

@soc
Copy link
Contributor Author

soc commented Aug 28, 2021

Looks like our current implementation is buggy too (order of NaNs is incorrect), see comment in added test in #255.

@soc soc force-pushed the topic/total-order-new branch 2 times, most recently from 21e066d to 82cbfb9 Compare January 11, 2022 22:05
@soc soc marked this pull request as ready for review January 11, 2022 22:06
@soc
Copy link
Contributor Author

soc commented Jan 11, 2022

Well, as mentioned on Gitter, the use of legacy instructions that clobbered a fixed register was the reason the code didn't work for ages.

@soc
Copy link
Contributor Author

soc commented Jan 11, 2022

@dinfuehr Could you have a look?

@soc
Copy link
Contributor Author

soc commented Jan 15, 2022

As requested, I replaced the macro assembler calls with direct assembler calls, could you have a look, @dinfuehr?

@soc
Copy link
Contributor Author

soc commented Jan 29, 2022

@dinfuehr ping?

@soc
Copy link
Contributor Author

soc commented Feb 11, 2022

@dinfuehr ping?

@soc
Copy link
Contributor Author

soc commented Feb 11, 2022

CI fail is due to Ruby install: Error: Version 2.6.x not found

@dinfuehr
Copy link
Owner

Looks like this one needs to be updated. Then we can merge it.

@soc
Copy link
Contributor Author

soc commented Feb 12, 2022

@dinfuehr Rebased.

@soc
Copy link
Contributor Author

soc commented Feb 20, 2022

@dinfuehr I rebased the commit on master such that the fixed CI could run again, can you have a look?

@dinfuehr dinfuehr merged commit 6f01fe4 into dinfuehr:master Apr 4, 2022
@dinfuehr
Copy link
Owner

dinfuehr commented Apr 6, 2022

Hey, had to revert this PR because the tests didn't work on arm64.

@soc
Copy link
Contributor Author

soc commented Apr 6, 2022

What was the error?

@dinfuehr
Copy link
Owner

dinfuehr commented Apr 6, 2022

I think it was assertion failures in the sorting tests.

@soc
Copy link
Contributor Author

soc commented Apr 6, 2022

It would have been nice if I had the chance to look at the error and fix it.

In general, it feels like whatever problem occurs, the most time-consuming option is chosen for me to deal with.

@soc
Copy link
Contributor Author

soc commented Apr 6, 2022

I think that's the end of my journey, fyi I closed my issues that I'd class as suggestion, and unsubscribed from those I'd consider bug reports.

@dinfuehr
Copy link
Owner

dinfuehr commented Apr 7, 2022

Nevertheless thanks!

@soc
Copy link
Contributor Author

soc commented Apr 7, 2022

The experience as a contributor was simply a magnitude worse than whatever I had seen before. Wish you the best, and hope you can figure things out.

It's sad, because I thought this language had potential, but in the end I have other projects where I feel my efforts are actually appreciated and not treated as a nuisance.

Let me know if you want dora-lang.org then I transfer it, otherwise I'll let the registration run out.

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.

None yet

2 participants