r600/sfn: Fix the mods when splitting ALU op
In preparation of splitting 64 bit two slot ops with one 32 bit dest register use the right start slot. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36743>
This commit is contained in:
@@ -844,7 +844,7 @@ AluInstr::split(ValueFactory& vf)
|
||||
auto instr = new AluInstr(opcode, dst, src, {}, 1);
|
||||
instr->set_blockid(block_id(), index());
|
||||
|
||||
if (s == 0 || !m_alu_flags.test(alu_64bit_op)) {
|
||||
if (k == 0 || !m_alu_flags.test(alu_64bit_op)) {
|
||||
if (has_source_mod(nsrc * k + 0, mod_neg))
|
||||
instr->set_source_mod(0, mod_neg);
|
||||
if (has_source_mod(nsrc * k + 1, mod_neg))
|
||||
|
||||
Reference in New Issue
Block a user