[GPU] Fix addsc/mulsc/subsc r# addressing mode not initialized

This commit is contained in:
Triang3l 2019-01-25 20:43:53 +03:00
parent 4ae9266f13
commit e706cf0d54
1 changed files with 1 additions and 0 deletions

View File

@ -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()) ||