harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r584283 - /harmony/enhanced/drlvm/trunk/vm/port/src/encoder/ia32_em64t/dec_base.cpp
Date Fri, 12 Oct 2007 21:52:34 GMT
Author: gshimansky
Date: Fri Oct 12 14:51:51 2007
New Revision: 584283

URL: http://svn.apache.org/viewvc?rev=584283&view=rev
Log:
Make disassembler understand 64-bit immidiates


Modified:
    harmony/enhanced/drlvm/trunk/vm/port/src/encoder/ia32_em64t/dec_base.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/port/src/encoder/ia32_em64t/dec_base.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/port/src/encoder/ia32_em64t/dec_base.cpp?rev=584283&r1=584282&r2=584283&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/port/src/encoder/ia32_em64t/dec_base.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/port/src/encoder/ia32_em64t/dec_base.cpp Fri Oct 12 14:51:51
2007
@@ -200,6 +200,16 @@
         *pbuf += 4;
         }        
         return true;
+#ifdef _EM64T_
+    case OpcodeByteKind_io:
+        {
+        long long int ival = *(long long int*)*pbuf;
+        opnd = EncoderBase::Operand(OpndSize_64, ival);
+        ++pinst->argc;
+        *pbuf += 8;
+        }        
+        return true;
+#endif
     case OpcodeByteKind_plus_i:
         {
             unsigned regid = data_byte - byte;



Mime
View raw message