Skip to content

Fix endianness issues in binary trie LM code#253

Merged
dhdaines merged 8 commits intomasterfrom
bigendian_bigiron_fixes
Jun 9, 2022
Merged

Fix endianness issues in binary trie LM code#253
dhdaines merged 8 commits intomasterfrom
bigendian_bigiron_fixes

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