summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_opt_algebraic.py
Commit message (Expand)AuthorAgeFilesLines
* nir: Teach nir_opt_algebraic about adding and subtracting the same thingKristian Høgsberg Kristensen2015-12-291-0/+4
* nir: Optimize useless comparisons against true/false.Matt Turner2015-12-081-2/+4
* nir: Add opcodes for saturated vector math.Eric Anholt2015-10-231-0/+6
* nir: Add fdph and fdph_replicated opcodesJason Ekstrand2015-09-221-0/+1
* nir: add lowering for ffractRob Clark2015-09-161-0/+1
* nir: Add a fdot instruction that replicates the result to a vec4Jason Ekstrand2015-09-151-0/+3
* nir: Simplify feq(fneg(a), a)) -> feq(a, 0.0)Thomas Helland2015-08-181-0/+1
* nir: Simplify fne(fneg(a), a) -> fne(a, 0.0)Thomas Helland2015-08-181-0/+1
* nir: Add algebraic opt for no-op iand.Eric Anholt2015-08-041-0/+1
* nir: Recognize max(min(a, 1.0), 0.0) as fsat(a).Kenneth Graunke2015-06-251-0/+1
* nir: Remove sRGB colorspace conversion round-trip.Matt Turner2015-05-221-0/+2
* nir: Delete all traces of nir_op_flogIan Romanick2015-05-081-6/+0
* nir: Delete all traces of nir_op_fexpIan Romanick2015-05-081-7/+0
* nir: Allow feq/fne/ieq/ine to be optimized with inot.Matt Turner2015-05-071-0/+4
* nir: Recognize (a < c || b < c) as min(a, b) < c.Matt Turner2015-05-071-0/+2
* nir: Recognize trivial min/max.Matt Turner2015-05-071-0/+6
* nir: Recognize i2b(b2i(x)) as x.Matt Turner2015-05-071-0/+1
* nir: Recognize imul(b2i(a), b2i(b)) as a logical AND.Matt Turner2015-05-071-0/+1
* nir: Transform pow(x, 4) into (x*x)*(x*x).Matt Turner2015-04-241-0/+1
* nir: Fix typo in "ushr by 0" algebraic replacementIan Romanick2015-04-141-1/+1
* nir: split out lower_sub from lower_negateRob Clark2015-04-111-2/+2
* nir: add option to lower slt/sge/seq/sneRob Clark2015-04-051-0/+4
* nir: Remove useless ftrunc inside f2i/f2u.Matt Turner2015-04-011-0/+4
* nir: Recognize (a < b || a < c) as a < max(b, c).Matt Turner2015-04-011-0/+2
* nir: Add addition/multiplication identities of exp/log.Matt Turner2015-04-011-0/+6
* nir: Add identities for the log function.Matt Turner2015-04-011-0/+8
* nir: Add identities for the exponential function.Matt Turner2015-04-011-0/+6
* nir: Recognize another open coded lrp.Matt Turner2015-04-011-0/+1
* nir: Recognize open coded lrp.Matt Turner2015-04-011-0/+1
* nir: Move the compare-with-zero optimizations to the late sectionJason Ekstrand2015-04-011-4/+4
* nir/algebraic: Add a seperate section for "late" optimizationsJason Ekstrand2015-04-011-0/+9
* nir/algebraic: Remove a duplicate optimizationJason Ekstrand2015-04-011-3/+0
* nir: Recognize a pattern of bool frobbing from TGSI KILL_IF.Eric Anholt2015-04-011-0/+2
* nir: Recognize a pattern for doing b2f without the opcode.Eric Anholt2015-04-011-0/+1
* nir: Lower subtraction to add with negation when !lower_negate.Kenneth Graunke2015-03-271-0/+2
* nir: Add optional lowering of flrp.Eric Anholt2015-03-271-0/+1
* nir: Recognize sat(add(b2f(a), b2f(b))) as a logical OR.Matt Turner2015-03-241-0/+1
* nir: Recognize mul(b2f(a), b2f(b)) as a logical AND.Matt Turner2015-03-241-0/+2
* nir: Optimize a + neg(a)Thomas Helland2015-03-111-0/+2
* nir: Optimize (a*b)+(a*c) -> a*(b+c)Thomas Helland2015-03-111-0/+2
* nir: Generalize the optimization of subs of subs from 0.Eric Anholt2015-02-211-2/+2
* nir: Collapse repeated bcsels on the same argument.Eric Anholt2015-02-211-0/+1
* nir: When faced with a csel on !condition, just flip the arguments.Eric Anholt2015-02-211-0/+1
* nir: Add a couple of simplifications of csel operations.Eric Anholt2015-02-211-0/+3
* nir: Recognize and reduce duplicated fsats.Eric Anholt2015-02-181-0/+2
* nir: Add a flag for lowering fsat.Eric Anholt2015-02-181-1/+2
* nir: Add a flag for lowering ffma.Eric Anholt2015-02-181-1/+2
* nir: Add a flag for lowering fneg/ineg.Eric Anholt2015-02-181-0/+10
* nir: Add a flag for lowering fsqrt(x) to frcp(frsqrt(x)).Eric Anholt2015-02-181-1/+2
* nir: Add lowering of POW instructions if the lower flag is set.Eric Anholt2015-02-181-0/+1