1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-16 00:04:59 +00:00
Nick Briggs 6e38d50829
Improve implementation of word_swap_page() and remove unused code (#447)
word_swap_page() should only touch each 32-bit word once to change
  the byte order from ABCD to DCBA rather than twice doing a transform
  of the entire region from ABCD to BADC and then again to DCBA

  The compiler provided ntohl() usually gets favorable optimizations
  applied, so use it for the byte reordering.

  With word_swap_page() rewritten, byte_swap_word() is superfluous.
2022-10-30 15:49:32 -07:00
..
2022-10-11 14:21:55 -07:00
2021-06-27 19:02:02 -07:00
2022-08-15 16:19:38 -07:00
2022-10-11 14:21:55 -07:00
2021-01-05 10:26:02 -08:00
2022-08-15 16:19:38 -07:00
2021-11-26 19:53:26 -08:00
2021-09-15 10:30:04 -07:00
2021-02-10 20:33:54 -08:00
2022-08-14 11:44:27 -07:00
2022-10-11 14:21:55 -07:00
2020-12-21 18:09:14 +00:00
2021-07-08 15:18:41 -07:00
2021-02-22 09:44:43 -08:00