Skip to content

Commit

Permalink
remove duplicate branch target operand
Browse files Browse the repository at this point in the history
  • Loading branch information
bbiiggppiigg committed Nov 15, 2022
1 parent f6567b2 commit 125b6f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions instructionAPI/src/AMDGPU/gfx908/finalizeOperands.C
Original file line number Diff line number Diff line change
Expand Up @@ -1837,30 +1837,26 @@ case 2:
//S_BRANCH
setBranch();
makeBranchTarget(isCall,isConditional,layout.SIMM16);
insn_in_progress->appendOperand(decodeOPR_LABEL(layout.SIMM16),true,false);
break;
case 4:case 5:
//S_CBRANCH_SCC0,S_CBRANCH_SCC1
setBranch();
setConditionalBranch();
makeBranchTarget(isCall,isConditional,layout.SIMM16);
insn_in_progress->appendOperand(decodeOPR_LABEL(layout.SIMM16),true,false);
insn_in_progress->appendOperand(decodeOPR_SSRC_SPECIAL_SCC(253),true,false,true);
break;
case 6:case 7:
//S_CBRANCH_VCCZ,S_CBRANCH_VCCNZ
setBranch();
setConditionalBranch();
makeBranchTarget(isCall,isConditional,layout.SIMM16);
insn_in_progress->appendOperand(decodeOPR_LABEL(layout.SIMM16),true,false);
insn_in_progress->appendOperand(decodeOPR_VCC(0),true,false,true);
break;
case 8:case 9:
//S_CBRANCH_EXECZ,S_CBRANCH_EXECNZ
setBranch();
setConditionalBranch();
makeBranchTarget(isCall,isConditional,layout.SIMM16);
insn_in_progress->appendOperand(decodeOPR_LABEL(layout.SIMM16),true,false);
insn_in_progress->appendOperand(decodeOPR_SDST_EXEC(126),true,false,true);
break;
case 12:
Expand Down

0 comments on commit 125b6f2

Please sign in to comment.