Skip to content

Commit

Permalink
AArch64 set good extender
Browse files Browse the repository at this point in the history
  • Loading branch information
Simorfo authored Sep 9, 2016
1 parent 5c04e4c commit f852cf9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions arch/AArch64/AArch64InstPrinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,28 +838,28 @@ static void printArithExtend(MCInst *MI, unsigned OpNum, SStream *O)
switch(ExtType) {
default: // never reach
case AArch64_AM_UXTB:
ext = ARM64_EXT_UXTW;
ext = ARM64_EXT_UXTB;
break;
case AArch64_AM_UXTH:
ext = ARM64_EXT_UXTW;
ext = ARM64_EXT_UXTH;
break;
case AArch64_AM_UXTW:
ext = ARM64_EXT_UXTW;
break;
case AArch64_AM_UXTX:
ext = ARM64_EXT_UXTW;
ext = ARM64_EXT_UXTX;
break;
case AArch64_AM_SXTB:
ext = ARM64_EXT_UXTW;
ext = ARM64_EXT_SXTB;
break;
case AArch64_AM_SXTH:
ext = ARM64_EXT_UXTW;
ext = ARM64_EXT_SXTH;
break;
case AArch64_AM_SXTW:
ext = ARM64_EXT_UXTW;
ext = ARM64_EXT_SXTW;
break;
case AArch64_AM_SXTX:
ext = ARM64_EXT_UXTW;
ext = ARM64_EXT_SXTX;
break;
}

Expand Down

0 comments on commit f852cf9

Please sign in to comment.