Skip to content

Commit

Permalink
Update llvm/lib/Target/SBF/SBFInstrInfo.td
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte authored Jan 17, 2024
1 parent 7a02cd8 commit aa4788d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/SBF/SBFInstrInfo.td
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class TYPE_ALU_JMP<bits<4> op, bits<1> srctype,
bit IsPqr64 = 0>
: InstSBF<outs, ins, asmstr, pattern> {

// In the PQR class, instructions that deal with 64-bit registers have a difference OpCode.
// In the PQR class, instructions that deal with 64-bit registers have a different OpCode.
// To obtain it, we add one to its base value.
let Inst{63-60} = !if(IsPqr64, !add(op, 1), op);
let Inst{59} = srctype;
Expand Down

0 comments on commit aa4788d

Please sign in to comment.