Home
last modified time | relevance | path

Searched refs:modrm (Results 1 – 2 of 2) sorted by relevance

/dalvik/vm/compiler/codegen/x86/libenc/
Ddec_base.cpp208 const ModRM& modrm = *(ModRM*)*pbuf; in decode_aux() local
219 reg = getRegName(okind, opndDesc2.size, EXTEND_REG(modrm.reg, r)); in decode_aux()
224 reg = getRegName(okind, opndDesc.size, EXTEND_REG(modrm.reg, r)); in decode_aux()
305 const ModRM& modrm = *(ModRM*)*pbuf; in decode_aux() local
306 if (modrm.reg != byte) { in decode_aux()
463 const ModRM& modrm = *(ModRM*)*pbuf; in decodeModRM() local
474 if (modrm.mod == 3) { in decodeModRM()
478 RegName reg = getRegName(okind, opndDesc.size, EXTEND_REG(modrm.rm, b)); in decodeModRM()
486 if (modrm.rm == 4) { in decodeModRM()
498 if (sib.base != 5 || modrm.mod != 0) { in decodeModRM()
[all …]
Denc_base.cpp127 ModRM& modrm = *(ModRM*)stream; in encode_aux() local
136 modrm.mod = 3; // 11 in encode_aux()
137 modrm.rm = getHWRegIndex(opnds[memidx].reg()); in encode_aux()
145 modrm.reg = getHWRegIndex(opnds[regidx].reg()); in encode_aux()
163 ModRM& modrm = *(ModRM*)stream; in encode_aux() local
170 modrm.mod = 3; // 11 in encode_aux()
171 modrm.rm = getHWRegIndex(opnds[idx].reg()); in encode_aux()
179 modrm.reg = (char)lowByte; in encode_aux()
466 ModRM& modrm = *(ModRM*)stream; in encodeModRM() local
484 modrm.mod = 0; // 00 - .. in encodeModRM()
[all …]