Pierre did most of the work, I just rebased those patches on master.

Pierre Moreau (2):
  util/u_math: Implement a logbase2 function for unsigned long
  nv50/ir: Extend ImmediateValue::applyLog2 to 64-bit integers

 src/gallium/auxiliary/util/u_math.h           | 55 +++++++++++++++++++
 .../drivers/nouveau/codegen/nv50_ir.cpp       | 11 +++-
 src/util/bitscan.h                            | 11 ++++
 3 files changed, 76 insertions(+), 1 deletion(-)

-- 
2.17.0

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to