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 endianness issues in binary trie LM code #253

Merged
merged 8 commits into from
Jun 9, 2022

Conversation

dhdaines
Copy link
Contributor

@dhdaines dhdaines commented Jun 9, 2022

All tests should now pass on S390, and, presumably, other big-endian machines. Should notably fix #252

I don't know who wrote the bitarr and lm_trie code but I would like a word with them. It is undocumented and inscrutable and the fact that it is full of assumptions that make it break on other architectures doesn't give me confidence in its correctness or security.

@dhdaines dhdaines merged commit 2c0066b into master Jun 9, 2022
@dhdaines dhdaines deleted the bigendian_bigiron_fixes branch September 21, 2022 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Testsuite fails on several archs
1 participant