]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Comment-only change.
authorJulian Seward <jseward@acm.org>
Sun, 27 Feb 2005 13:31:42 +0000 (13:31 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 27 Feb 2005 13:31:42 +0000 (13:31 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@982

VEX/priv/host-amd64/hdefs.c

index 8ce6ec4c3285a655f29daf44d5de1adbbfd5f96e..a5588159be4f6957d9c12ab15f29c9e58200b6bd 100644 (file)
@@ -2732,6 +2732,9 @@ Int emit_AMD64Instr ( UChar* buf, Int nbuf, AMD64Instr* i )
          goto done;
       }
       if (i->Ain.Store.sz == 1) {
+         /* This is one place where it would be wrong to skip emitting
+            a rex byte of 0x40, since the mere presence of rex changes
+            the meaning of the byte register access.  Be careful. */
         *p++ = clearWBit( rexAMode_M( i->Ain.Store.src, i->Ain.Store.dst) );
          *p++ = 0x88;
          p = doAMode_M(p, i->Ain.Store.src, i->Ain.Store.dst);