summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/freedreno/Makefile.sources
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2014-10-25 15:11:59 -0400
committerRob Clark <robclark@freedesktop.org>2015-01-07 19:37:28 -0500
commit9a9f2a893b5e29a77d66671191653f0b4261f546 (patch)
treecb18b6fe28568d5c1f728632b93f60e50bd2b203 /src/gallium/drivers/freedreno/Makefile.sources
parentdddfe6c21ee92f015b78060545f08239c331ceba (diff)
freedreno/ir3: simplify RA
Group inputs/outputs, in addition to fanin/fanout, as they must also exist in sequential scalar registers. This lets us simplify RA by working in terms of neighbor groups. NOTE: has the slight problem that it can't optimize out mov's for things like: MOV OUT[n], IN[m] To avoid this, instead of trying to figure out what mov's we can eliminate, we first remove all mov's prior to grouping, and then re-insert mov's as needed while grouping inputs/outputs/fanins. Eventually we'd prefer the frontend to not insert extra mov's in the first place (so we don't have to bother removing them). This is the plan for an eventual NIR based frontend, so separate out the instr grouping (which will still be needed for NIR frontend) from the mov elimination (which won't). Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'src/gallium/drivers/freedreno/Makefile.sources')
-rw-r--r--src/gallium/drivers/freedreno/Makefile.sources4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/Makefile.sources b/src/gallium/drivers/freedreno/Makefile.sources
index 1cae52905ef..592f4b4a3fa 100644
--- a/src/gallium/drivers/freedreno/Makefile.sources
+++ b/src/gallium/drivers/freedreno/Makefile.sources
@@ -127,10 +127,10 @@ ir3_SOURCES := \
ir3/ir3_depth.c \
ir3/ir3_dump.c \
ir3/ir3_flatten.c \
+ ir3/ir3_group.c \
ir3/ir3.h \
ir3/ir3_legalize.c \
ir3/ir3_ra.c \
ir3/ir3_sched.c \
ir3/ir3_shader.c \
- ir3/ir3_shader.h \
- ir3/ir3_visitor.h
+ ir3/ir3_shader.h