Skip to content

Commit

Permalink
Merge branch 'master' into v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Pall committed May 6, 2016
2 parents 221268b + f05280e commit 6a99732
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lj_asm_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -2680,9 +2680,9 @@ static uint32_t asm_x86_inslen(const uint8_t* p)
case 4: result -= (prefixes & 2); /* fallthrough */
case 5: return result + (x & 15);
case 6: /* Group 3. */
if (p[1] & 0x38) return result + 2;
if ((prefixes & 2) && (x == 0x66)) return result + 4;
return result + (x & 15);
if (p[1] & 0x38) x = 2;
else if ((prefixes & 2) && (x == 0x66)) x = 4;
goto mrm;
case 7: /* VEX c4/c5. */
if (LJ_32 && p[1] < 0xc0) {
x = 2;
Expand Down

0 comments on commit 6a99732

Please sign in to comment.