Module: Mesa
Branch: master
Commit: 1155446c198f43fcfc7afcb01917f5b3517081c2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1155446c198f43fcfc7afcb01917f5b3517081c2

Author: Alyssa Rosenzweig <aly...@rosenzweig.io>
Date:   Sun May 19 23:20:34 2019 +0000

panfrost/midgard: Split up midgard_compile.c (RA)

This commit moves the register allocator out of midgard_compile.c and
into its own midgard_ra.c file. In doing so, a number of dependencies
are identified and moved into their own files in turn. midgard_compile.c
is still fairly monolithic, but this should help.

Code churn, but no functional changes should be introduced by this
commit.

Signed-off-by: Alyssa Rosenzweig <aly...@rosenzweig.io>

---

 src/gallium/drivers/panfrost/meson.build           |  10 +
 src/gallium/drivers/panfrost/midgard/compiler.h    | 359 ++++++++++
 src/gallium/drivers/panfrost/midgard/disassemble.c |   1 +
 src/gallium/drivers/panfrost/midgard/helpers.h     | 144 +---
 src/gallium/drivers/panfrost/midgard/midgard.h     |  50 --
 .../drivers/panfrost/midgard/midgard_compile.c     | 746 +--------------------
 .../drivers/panfrost/midgard/midgard_liveness.c    |  92 +++
 src/gallium/drivers/panfrost/midgard/midgard_ops.c | 188 ++++++
 src/gallium/drivers/panfrost/midgard/midgard_ops.h |  53 ++
 .../drivers/panfrost/midgard/midgard_print.c       | 124 ++++
 src/gallium/drivers/panfrost/midgard/midgard_ra.c  | 310 +++++++++
 11 files changed, 1149 insertions(+), 928 deletions(-)

Diff:   
http://cgit.freedesktop.org/mesa/mesa/diff/?id=1155446c198f43fcfc7afcb01917f5b3517081c2
_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to