Rob Clark <[email protected]> writes: > From: Rob Clark <[email protected]> > > 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 <[email protected]> (vc4) I don't think we should commit the python file, though.
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
