amdgpu/addrlib: add equation generation