The article isn't about signum though (that's just the example they picked to showcase what it's about). It's about a rather extreme way to optimise code where the optimizer doesn't use pre-designed optimisations but instead tries out every single combination of instructions that exists for that particular problem and leads to a valid result. Then the optimizer picks the smallest/fastest result out of the valid solutions it generated.
They point out it's only viable for very small algorithms as the required computing & storage power quickly spirals out of control. Still, an interesting approach.
Last edited by roondar; 12 December 2020 at 16:12.
|