Skip to content

Commit

Permalink
arm64: some POST instructions miss IMM operand. this fixes issue caps…
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed May 9, 2020
1 parent b471e50 commit 73bbf84
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/AArch64/AArch64InstPrinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,18 @@ void AArch64_printInst(MCInst *MI, SStream *O, void *Info)

switch(MCInst_getOpcode(MI)) {
default: break;
case AArch64_LD1Onev1d_POST:
case AArch64_LD1Onev2s_POST:
case AArch64_LD1Onev4h_POST:
case AArch64_LD1Onev8b_POST:
arm64_op_addImm(MI, 8);
break;
case AArch64_LD1Onev16b_POST:
case AArch64_LD1Onev2d_POST:
case AArch64_LD1Onev4s_POST:
case AArch64_LD1Onev8h_POST:
arm64_op_addImm(MI, 16);
break;
case AArch64_UMOVvi64:
arm64_op_addVectorArrSpecifier(MI, ARM64_VAS_1D);
break;
Expand Down

0 comments on commit 73bbf84

Please sign in to comment.