Rob Clark <robdcl...@gmail.com> writes: > From: Rob Clark <robcl...@freedesktop.org> > > Based on the algo from NV50LegalizeSSA::handleDIV() and handleMOD(). > See also trans_idiv() in freedreno/ir3/ir3_compiler.c (which was an > adaptation of the nv50 code from Ilia Mirkin). > > Also, including a py script that implements the same algo with numpy, > based on something written by Ilia (and beaten on with a hammer a bit > by me). > > I've tested this on i965 hacked up to insert the idiv lowering pass.
Tested-by: Eric Anholt <e...@anholt.net> (vc4) I don't think we should commit the python file, though.
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev