/dalvik/vm/compiler/codegen/x86/libenc/ |
enc_base.cpp | 103 const Operands& opnds, const OpcodeDesc * odesc, 121 //assert((odesc->opnds[0].kind & OpndKind_Mem) || 122 // (odesc->opnds[1].kind & OpndKind_Mem)); 123 unsigned memidx = odesc->opnds[0].kind & OpndKind_Mem ? 0 : 1; 133 stream = encodeModRM(stream, opnds, memidx, odesc, prex); 167 stream = encodeModRM(stream, opnds, idx, odesc, prex); 310 const OpcodeDesc * odesc = lookup(mn, opnds); local 322 unsigned char _1st = odesc->opcode[0]; 326 ((_1st == 0x66) || (_1st == 0xF2 || _1st == 0xF3) && odesc->opcode[1] == 0x0F)) { 342 memcpy(stream, &odesc->opcode[1], odesc->opcode_len-1) [all...] |
dec_base.h | 105 const EncoderBase::OpcodeDesc * odesc; member in struct:Inst 117 static bool decodeModRM(const EncoderBase::OpcodeDesc& odesc, 123 static bool decode_aux(const EncoderBase::OpcodeDesc& odesc,
|
dec_base.cpp | 190 bool DecoderBase::decode_aux(const EncoderBase::OpcodeDesc& odesc, unsigned aux, 201 const EncoderBase::OpndDesc& opndDesc = odesc.opnds[pinst->argc]; 211 decodeModRM(odesc, pbuf, pinst, rex); 213 decodeModRM(odesc, pbuf, pinst); 216 const EncoderBase::OpndDesc& opndDesc2 = odesc.opnds[pinst->argc]; 228 decodeModRM(odesc, pbuf, pinst, rex); 230 decodeModRM(odesc, pbuf, pinst); 309 decodeModRM(odesc, pbuf, pinst 374 const EncoderBase::OpcodeDesc& odesc = opcodes[i]; local 375 char *opcode_ptr = const_cast<char *>(odesc.opcode) [all...] |
enc_tabl.cpp | 272 unsigned short EncoderBase::getHash(const OpcodeInfo* odesc) 280 if (odesc->roles.count > 0) { 281 OpndKind kind = odesc->opnds[0].kind; 282 OpndSize size = odesc->opnds[0].size; 288 if (odesc->roles.count > 1) { 289 OpndKind kind = odesc->opnds[1].kind; 290 OpndSize size = odesc->opnds[1].size; 297 if (odesc->roles.count > 2) { 298 OpndKind kind = odesc->opnds[2].kind; 299 OpndSize size = odesc->opnds[2].size [all...] |
enc_base.h | 600 unsigned idx, const OpcodeDesc * odesc, Rex * prex); 605 const Operands& opnds, const OpcodeDesc * odesc, 728 static unsigned short getHash(const OpcodeInfo* odesc);
|