diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-10-30 16:29:28 -0400 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-11-01 01:01:47 +0000 |
commit | c3a46e7644c403890ba872b82731ef3ab5a47834 (patch) | |
tree | 225aa8de90adb8b7623b4271d4ae1ac4ca332cff /src/panfrost/midgard/midgard_schedule.c | |
parent | 70072a20e0086ad2d3714216a2b8fb4a97776385 (diff) |
pan/midgard: Eliminate blank_alu_src
We don't need it in practice, so this is some more cleanup.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_schedule.c')
-rw-r--r-- | src/panfrost/midgard/midgard_schedule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c index af3018780ff..acfc5754480 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -719,7 +719,7 @@ mir_schedule_comparison( /* Otherwise, we insert a move */ - midgard_instruction mov = v_mov(cond, blank_alu_src, cond); + midgard_instruction mov = v_mov(cond, cond); mov.mask = vector ? 0xF : 0x1; memcpy(mov.swizzle[1], swizzle, sizeof(mov.swizzle[1])); @@ -956,7 +956,7 @@ mir_schedule_alu( /* Finally, add a move if necessary */ if (bad_writeout || writeout_mask != 0xF) { unsigned temp = (branch->src[0] == ~0) ? SSA_FIXED_REGISTER(0) : make_compiler_temp(ctx); - midgard_instruction mov = v_mov(src, blank_alu_src, temp); + midgard_instruction mov = v_mov(src, temp); vmul = mem_dup(&mov, sizeof(midgard_instruction)); vmul->unit = UNIT_VMUL; vmul->mask = 0xF ^ writeout_mask; @@ -1265,7 +1265,7 @@ static void mir_spill_register( midgard_instruction st; if (is_special_w) { - st = v_mov(spill_node, blank_alu_src, spill_slot); + st = v_mov(spill_node, spill_slot); st.no_spill = true; } else { ins->dest = SSA_FIXED_REGISTER(26); @@ -1333,7 +1333,7 @@ static void mir_spill_register( if (is_special) { /* Move */ - st = v_mov(spill_node, blank_alu_src, consecutive_index); + st = v_mov(spill_node, consecutive_index); st.no_spill = true; } else { /* TLS load */ |