4 ms·
Great rant. "just don't use f16" seems like the course of wisdom here. I had a 3x 5 bit value, packed structure in something where memory pressure was severe,
by h2odragon 5y ago
Great rant.
"just don't use f16" seems like the course of wisdom here.
I had a 3x 5 bit value, packed structure in something where memory pressure was severe, and it was such a bitch on a SPARC to deal with 16 bit quantities that actually running the data as two passes using more memory wound up being an immensely better approach. The Alphas would diddle yer bits any way you liked at speed, but that was clearly an aberrant ability.
- p_l 5y agoOnly after BWX landed - before that, you had to ensure all accesses were 4 or 8 bytes, and aligned on 4 byte boundary, then do appropriate bitmasking and shifting.
- h2odragon 5y agoright. it was a noticeable pain point in early versions so they fixed good and hard for the last few.
- IfOnlyYouKnew 5y ago"just don't use f16", when that is an option, tends to mean throwing away half of what your hardware is capable of. I'm not sure how wise that is.