[Mesa-dev] [PATCH 0/2] gallium: add support for 64 bit util_logbase2_64

Karol Herbst kherbst at redhat.com
Tue May 22 21:06:15 UTC 2018


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



More information about the mesa-dev mailing list