Skip to content

Commit

Permalink
fix decoding of operand for v_div_scale based on 220804 isa drop
Browse files Browse the repository at this point in the history
  • Loading branch information
bbiiggppiigg committed Nov 15, 2022
1 parent 2c92db5 commit 74a6661
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions instructionAPI/src/AMDGPU/gfx908/finalizeOperands.C
Original file line number Diff line number Diff line change
Expand Up @@ -9907,17 +9907,17 @@ insn_in_progress->appendOperand(decodeOPR_SREG(layout.SRC2+1,32),true,false);
break;
case 480:// V_DIV_SCALE_F32
insn_in_progress->appendOperand(decodeOPR_VGPR(layout.VDST,32),false,true);
insn_in_progress->appendOperand(decodeOPR_SREG(layout.SDST+0,32),false,true);
insn_in_progress->appendOperand(decodeOPR_SREG(layout.SDST+1,32),false,true);
insn_in_progress->appendOperand(decodeOPR_VCC(layout.SDST+0,32),false,true);
insn_in_progress->appendOperand(decodeOPR_VCC(layout.SDST+1,32),false,true);
insn_in_progress->appendOperand(decodeOPR_SRC_NOLIT(layout.SRC0,32),true,false);
insn_in_progress->appendOperand(decodeOPR_SRC_SIMPLE(layout.SRC1,32),true,false);
insn_in_progress->appendOperand(decodeOPR_SRC_SIMPLE(layout.SRC2,32),true,false);
break;
case 481:// V_DIV_SCALE_F64
insn_in_progress->appendOperand(decodeOPR_VGPR(layout.VDST+0,32),false,true);
insn_in_progress->appendOperand(decodeOPR_VGPR(layout.VDST+1,32),false,true);
insn_in_progress->appendOperand(decodeOPR_SREG(layout.SDST+0,32),false,true);
insn_in_progress->appendOperand(decodeOPR_SREG(layout.SDST+1,32),false,true);
insn_in_progress->appendOperand(decodeOPR_VCC(layout.SDST+0,32),false,true);
insn_in_progress->appendOperand(decodeOPR_VCC(layout.SDST+1,32),false,true);
insn_in_progress->appendOperand(decodeOPR_SRC_NOLIT(layout.SRC0+0,32),true,false);
insn_in_progress->appendOperand(decodeOPR_SRC_NOLIT(layout.SRC0+1,32),true,false);
insn_in_progress->appendOperand(decodeOPR_SRC_SIMPLE(layout.SRC1+0,32),true,false);
Expand Down

0 comments on commit 74a6661

Please sign in to comment.