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