wanted: efficient endian swap
Bug #310191 reported by
Nikodemus Siivola
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Endian-swapping binary data of all sorts would be useful. On x86 there is even a specialized instruction
(not sure how CISC-slow it is, though) BSWAP.
Either in SB-EXT, or as an SB-ROTATE-
Changed in sbcl: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
I think to make this really useful/more applicable, you need a version that operates not only on bare integer values, but also loads endian-reversed data from arrays/saps. Then you can at least let PPC get into the act and you even have the option of specializing code for Atom.