[GPU] Fix addsc/mulsc/subsc r# addressing mode not initialized
This commit is contained in:
@@ -1100,6 +1100,7 @@ void ParseAluInstructionOperandSpecial(const AluInstruction& op,
|
||||
out_op->storage_source = storage_source;
|
||||
if (storage_source == InstructionStorageSource::kRegister) {
|
||||
out_op->storage_index = reg & 0x7F;
|
||||
out_op->storage_addressing_mode = InstructionStorageAddressingMode::kStatic;
|
||||
} else {
|
||||
out_op->storage_index = reg;
|
||||
if ((const_slot == 0 && op.is_const_0_addressed()) ||
|
||||
|
||||
Reference in New Issue
Block a user