![]() |
Endian conversion...Part 2, The Endian Is Nigh! - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Works in Progress (https://qb64phoenix.com/forum/forumdisplay.php?fid=9) +---- Thread: Endian conversion...Part 2, The Endian Is Nigh! (/showthread.php?tid=3551) |
Endian conversion...Part 2, The Endian Is Nigh! - tantalus - 03-22-2025 This will be my last post on the subject, but just for sharing and learning purposes here is the solution I choose to follow and what I have so far. Please take it as work in progress and it "works" for me. *** This code is Linux targeted, you're on your own for Windows! *** Built and tested under Debian 11 (Bullseye) x86_64 and Debian 12 (Bookworm) x86. C static library implementation using x86_64 intrinsic instructions and a x86 work around. Code: (Select All) /* QB64pe test program. Code: (Select All)
|