src/hotspot/cpu/x86/assembler_x86.hpp
changeset 54960 e46fe26d7f77
parent 54750 1851a532ddfe
child 57786 948ac3112da8
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54959:00425a850a2f 54960:e46fe26d7f77
   628     nlt = 5,
   628     nlt = 5,
   629     nle = 6,
   629     nle = 6,
   630     _true = 7
   630     _true = 7
   631   };
   631   };
   632 
   632 
       
   633   //---<  calculate length of instruction  >---
       
   634   // As instruction size can't be found out easily on x86/x64,
       
   635   // we just use '4' for len and maxlen.
       
   636   // instruction must start at passed address
       
   637   static unsigned int instr_len(unsigned char *instr) { return 4; }
       
   638 
       
   639   //---<  longest instructions  >---
       
   640   // Max instruction length is not specified in architecture documentation.
       
   641   // We could use a "safe enough" estimate (15), but just default to
       
   642   // instruction length guess from above.
       
   643   static unsigned int instr_maxlen() { return 4; }
   633 
   644 
   634   // NOTE: The general philopsophy of the declarations here is that 64bit versions
   645   // NOTE: The general philopsophy of the declarations here is that 64bit versions
   635   // of instructions are freely declared without the need for wrapping them an ifdef.
   646   // of instructions are freely declared without the need for wrapping them an ifdef.
   636   // (Some dangerous instructions are ifdef's out of inappropriate jvm's.)
   647   // (Some dangerous instructions are ifdef's out of inappropriate jvm's.)
   637   // In the .cpp file the implementations are wrapped so that they are dropped out
   648   // In the .cpp file the implementations are wrapped so that they are dropped out