summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0/nvc0_pc_optimize.c
AgeCommit message (Collapse)Author
2011-03-13nvc0: update/fix supported instruction src modifiersChristoph Bumiller
2011-02-24nvc0: change TGSI CMP translation to use slctChristoph Bumiller
Saves us the explicit compare instruction needed with selp.
2011-02-24nvc0: fix new_value calls using type instead of sizeChristoph Bumiller
2011-02-24nvc0: preemptively insert branch at ENDIFChristoph Bumiller
Might be necessary if a block sneaks in somewhere, like a common block for moves of phi sources after a loop break. This is harmless and normally will be removed before emission.
2011-02-16nvc0: don't swap sources if either value is not in a GPRChristoph Bumiller
The memory / immediate source should already be in the only valid position.
2011-02-16nvc0: add missing break statements in constant_operandChristoph Bumiller
2011-02-16nvc0: clone memory values with multiple refs before modifying themChristoph Bumiller
2011-02-09nvc0: make CSE work for ops with multiple resultsChristoph Bumiller
2011-02-09nvc0: replace branching with predicated insns where feasibleChristoph Bumiller
2011-02-09nv50,nvc0: fix condition code change when commuting SET sourcesChristoph Bumiller
2011-02-09nvc0: try to fix register conflicts for vector instructionsChristoph Bumiller
Vector here means using multiple 32 bit regs which are forced to be consecutive in the register file. This still isn't quite nice.
2011-02-09nvc0: don't combine memory loads across block boundariesChristoph Bumiller
2011-02-09nvc0: detect no-op MIN/MAX, do CSE earlier to succeed more oftenChristoph Bumiller
2011-01-23nvc0: fix address and value slot assignment in load combiningChristoph Bumiller
2011-01-23nvc0: commute sources of SET too if beneficialChristoph Bumiller
2011-01-15nvc0: try to swap immediates to first source tooChristoph Bumiller
2011-01-15nvc0: make sure all sources of the BIND op are distinctChristoph Bumiller
They're supposed to be assigned consecutive registers so they can't contain the same SSA value more than once.
2011-01-04nvc0: use the proper typed opcodes in constant foldingChristoph Bumiller
2010-12-27nvc0: reenable some shader optimizationsChristoph Bumiller
CSE and constants folding.
2010-11-12nvc0: import nvc0 gallium driverChristoph Bumiller