Skip to content

panfrost: Eliminate (integer) divisions from the Midgard compiler

Alyssa Rosenzweig requested to merge alyssa/mesa:jdiv into master

Following a discussion with Ryan, these should really be shifts as we know that they are always POTs (but the compiler does not). I've been bit by division-by-zero working silently on aarch64 but not some 32-bit machines, but that raises the question why are we dividing by arbitrary #s at all..

Merge request reports