diff options
author | Eric Anholt <[email protected]> | 2014-08-24 16:51:32 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-04 11:39:51 -0700 |
commit | 874dfa8b2ecccf3c9a73453d7ccc6638363a59bd (patch) | |
tree | be821f68c78f6785282b2d620b84c122effd57a7 /src/glx/create_context.c | |
parent | 3972a6f057e20ec9e8358f4487c3b4d51c499628 (diff) |
vc4: Expose compares at a lower level in QIR.
Before, we had some special opcodes like CMP and SNE that emitted multiple
instructions. Now, we reduce those operations significantly, giving
optimization more to look at for reducing redundant operations.
The downside is that QOP_SF is pretty special -- we're going to have to
track it separately when we're doing instruction scheduling, and we want
to peephole it into the instruction generating the destination write in
most cases (and not allocate the destination reg, probably. Unless it's
used for some other purpose, as well).
Diffstat (limited to 'src/glx/create_context.c')
0 files changed, 0 insertions, 0 deletions