Skip to content

Commit

Permalink
Merge pull request #3634 from yebblies/issue12873
Browse files Browse the repository at this point in the history
Issue 12873 - Valgrind unhandled instruction bytes 0x48 0xDB (redundant REX_W prefix on x87 load)
  • Loading branch information
WalterBright committed Jun 7, 2014
2 parents b0ccc87 + 5d79f23 commit a44b7b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/cg87.c
Expand Up @@ -3492,6 +3492,8 @@ code *cdind87(elem *e,regm_t *pretregs)

case TYildouble:
case TYldouble:
if (I64)
cs.Irex &= ~REX_W;
cs.Iop = 0xDB;
cs.Irm |= modregrm(0,5,0);
break;
Expand Down

0 comments on commit a44b7b8

Please sign in to comment.