News for hackers. Stuff that matters.
Re:Unreasonably effective – How video games use LUTs and how... by ronama on Thursday February 29, 2024 @07:01AM (#39548275)
Loved your article! I just wanted to expand a bit on your last section. The Game Boy Advance did offer somewhat support for integer division, but it's not hardware-accelerated [1]. I suspect the LUT model was for performance reasons (and rightfully so!).

[1] https://www.copetti.org/writings/consoles/game-boy-advance/#...

Re:Unreasonably effective – How video games use LUTs and how... by aaaronic on Thursday February 29, 2024 @09:05PM (#39557701)
The GBA has native support for integer division, but it does not have any hardware support for floating point arithmetic at all — compilers will insert a virtual floating point unit that does IEEE 754 in software, which takes hundreds of CPU cycles for most operations. I believe the LUT you refer to is for floats.