projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3896de6
)
ir3/legalize: Support multi-mov instructions
author
Connor Abbott
<cwabbott0@gmail.com>
Thu, 22 Apr 2021 17:14:42 +0000
(19:14 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 29 Jun 2021 08:08:12 +0000
(08:08 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11565>
src/freedreno/ir3/ir3_legalize.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3_legalize.c
b/src/freedreno/ir3/ir3_legalize.c
index
b354cda
..
24fe37a
100644
(file)
--- a/
src/freedreno/ir3/ir3_legalize.c
+++ b/
src/freedreno/ir3/ir3_legalize.c
@@
-206,8
+206,7
@@
legalize_block(struct ir3_legalize_ctx *ctx, struct ir3_block *block)
last_rel = n;
}
- if (n->dsts_count > 0) {
- struct ir3_register *reg = n->dsts[0];
+ foreach_dst (reg, n) {
if (regmask_get(&state->needs_ss_war, reg)) {
n->flags |= IR3_INSTR_SS;
last_input_needs_ss = false;