Searched refs:Mnemonic (Results 1 - 15 of 15) sorted by relevance

/dalvik/vm/compiler/codegen/x86/libenc/
H A Denc_wrapper.h176 ENCODER_DECLARE_EXPORT char* encoder_imm(Mnemonic m, OpndSize size,
180 ENCODER_DECLARE_EXPORT char* encoder_mem(Mnemonic m, OpndSize size,
182 ENCODER_DECLARE_EXPORT char* encoder_reg(Mnemonic m, OpndSize size,
184 ENCODER_DECLARE_EXPORT char* encoder_reg_reg(Mnemonic m, OpndSize size,
187 ENCODER_DECLARE_EXPORT char* encoder_mem_reg(Mnemonic m, OpndSize size,
190 ENCODER_DECLARE_EXPORT char* encoder_mem_scale_reg(Mnemonic m, OpndSize size,
193 ENCODER_DECLARE_EXPORT char* encoder_reg_mem_scale(Mnemonic m, OpndSize size,
197 ENCODER_DECLARE_EXPORT char * encoder_mem_disp_scale_reg(Mnemonic m, OpndSize size,
200 ENCODER_DECLARE_EXPORT char * encoder_movzs_mem_disp_scale_reg(Mnemonic m, OpndSize size,
203 ENCODER_DECLARE_EXPORT char* encoder_reg_mem_disp_scale(Mnemonic
[all...]
H A Ddec_base.h58 * Mnemonic of the instruction.s
60 Mnemonic mn;
108 inline bool is_jcc(Mnemonic mn)
130 static bool try_mn(Mnemonic mn, const unsigned char ** pbuf, Inst * pinst);
H A Dencoder.cpp94 extern const Mnemonic map_of_alu_opcode_2_mnemonic[];
95 extern const Mnemonic map_of_shift_opcode_2_mnemonic[];
123 const Mnemonic map_of_alu_opcode_2_mnemonic[] = {
131 const Mnemonic map_of_shift_opcode_2_mnemonic[] = {
H A Denc_base.h69 * @param mn - \link Mnemonic mnemonic \endlink of the instruction
73 static char * encode(char * stream, Mnemonic mn, const Operands& opnds);
111 * @brief Returns #MnemonicDesc by the given Mnemonic.
113 static const MnemonicDesc * getMnemonicDesc(Mnemonic mn)
120 * @brief Returns a Mnemonic for the given name.
125 static Mnemonic str2mnemonic(const char * mn_name);
128 * @brief Returns a string representation of the given Mnemonic.
132 static const char * getMnemonicString(Mnemonic mn)
137 static const char * toStr(Mnemonic mn)
264 Mnemonic m
[all...]
H A Denc_wrapper.cpp142 void printEncoderInst(Mnemonic m, EncoderBase::Operands& opnds) {
159 extern "C" ENCODER_DECLARE_EXPORT char * encoder_imm(Mnemonic m, OpndSize size, int imm, char * stream) {
195 extern "C" ENCODER_DECLARE_EXPORT char * encoder_mem(Mnemonic m, OpndSize size,
207 extern "C" ENCODER_DECLARE_EXPORT char * encoder_reg(Mnemonic m, OpndSize size,
224 extern "C" ENCODER_DECLARE_EXPORT char * encoder_reg_reg(Mnemonic m, OpndSize size,
242 extern "C" ENCODER_DECLARE_EXPORT char * encoder_mem_reg(Mnemonic m, OpndSize size,
256 extern "C" ENCODER_DECLARE_EXPORT char * encoder_mem_scale_reg(Mnemonic m, OpndSize size,
270 extern "C" ENCODER_DECLARE_EXPORT char * encoder_reg_mem_scale(Mnemonic m, OpndSize size,
285 extern "C" ENCODER_DECLARE_EXPORT char * encoder_mem_disp_scale_reg(Mnemonic m, OpndSize size,
299 extern "C" ENCODER_DECLARE_EXPORT char * encoder_movzs_mem_disp_scale_reg(Mnemonic
[all...]
H A Dencoder.inl26 extern const Mnemonic map_of_alu_opcode_2_mnemonic[];
27 extern const Mnemonic map_of_shift_opcode_2_mnemonic[];
30 extern const Mnemonic S_map_of_condition_code_2_branch_mnemonic[];
32 extern const Mnemonic U_map_of_condition_code_2_branch_mnemonic[];
44 inline static Mnemonic map_alu(ALU_Opcode alu) {
49 inline static Mnemonic map_shift(Shift_Opcode shc) {
540 return (char*)EncoderBase::encode(stream, (Mnemonic)(Mnemonic_CMOVcc + cc), args);
546 return (char*)EncoderBase::encode(stream, (Mnemonic)(Mnemonic_SETcc + cc), args);
646 Mnemonic m = (Mnemonic)(Mnemonic_Jc
[all...]
H A Ddec_base.cpp148 // for each Mnemonic
165 found=try_mn((Mnemonic)mn, &bytes, &tmp);
167 tmp.mn = (Mnemonic)mn;
369 bool DecoderBase::try_mn(Mnemonic mn, const unsigned char ** pbuf, Inst * pinst) {
H A Denc_defs_ext.h85 typedef enum Mnemonic { enum
338 } Mnemonic; typedef in typeref:enum:Mnemonic
H A Denc_base.cpp293 char * EncoderBase::encode(char * stream, Mnemonic mn, const Operands& opnds)
746 static unsigned find(Mnemonic mn, unsigned hash)
765 static void put(Mnemonic mn, unsigned hash, unsigned idx)
774 EncoderBase::lookup(Mnemonic mn, const Operands& opnds)
841 Mnemonic EncoderBase::str2mnemonic(const char * mn_name)
845 return (Mnemonic)m;
H A Denc_prvt.h312 * @defgroup MF_ Mnemonic flags
353 Mnemonic mn;
H A Denc_defs.h394 enum Mnemonic {
H A Denc_tabl.cpp212 | 12 | FF | FF | n | 04 | 25 | ... <- Mnemonic
227 | opcode_desc10 | opcode_desc11 | last_opcode | xxx | <- Mnemonic
1748 Mnemonic id1, id2;
1778 assert((Mnemonic)i == (masterEncodingTable + i)->mn);
/dalvik/vm/compiler/codegen/x86/
H A DLowerHelper.cpp65 const Mnemonic map_of_alu_opcode_2_mnemonic[] = {
75 const Mnemonic map_of_fpu_opcode_2_mnemonic[] = {
85 const Mnemonic map_of_sse_opcode_2_mnemonic[] = {
95 const Mnemonic map_of_64_opcode_2_mnemonic[] = {
236 LowOpLabel* lower_label(Mnemonic m, OpndSize size, int imm, const char* label, bool isLocal) {
241 LowOpLabel* dump_label(Mnemonic m, OpndSize size, int imm,
246 LowOpNCG* dump_ncg(Mnemonic m, OpndSize size, int imm) {
254 LowOpImm* lower_imm(Mnemonic m, OpndSize size, int imm, bool updateTable) {
259 LowOpImm* dump_imm(Mnemonic m, OpndSize size, int imm) {
263 LowOpImm* dump_imm_with_codeaddr(Mnemonic
[all...]
H A DLower.h332 Mnemonic opCode;
340 Mnemonic opCode;
1142 LowOpImm* dump_imm(Mnemonic m, OpndSize size,
1144 LowOpNCG* dump_ncg(Mnemonic m, OpndSize size, int imm);
1145 LowOpImm* dump_imm_with_codeaddr(Mnemonic m, OpndSize size,
1148 LowOpMem* dump_mem(Mnemonic m, AtomOpCode m2, OpndSize size,
1150 LowOpReg* dump_reg(Mnemonic m, AtomOpCode m2, OpndSize size,
1152 LowOpReg* dump_reg_noalloc(Mnemonic m, OpndSize size,
1154 LowOpMemImm* dump_imm_mem_noalloc(Mnemonic m, OpndSize size,
1158 LowOpRegReg* dump_reg_reg(Mnemonic
[all...]
H A DLowerJump.cpp536 Mnemonic m = (Mnemonic)(Mnemonic_Jcc + cc);
560 Mnemonic m = Mnemonic_JMP;
588 Mnemonic m = (Mnemonic)(Mnemonic_Jcc + cc);
596 Mnemonic m = Mnemonic_JMP;
616 Mnemonic m = Mnemonic_CALL;
631 Mnemonic m = Mnemonic_CALL;
635 Mnemonic m = Mnemonic_CALL;
644 Mnemonic
[all...]

Completed in 110 milliseconds