Home | History | Annotate | Download | only in opcodes

Lines Matching refs:current_optab

81 	insn_template *current_optab = (insn_template *) tic30_optab;
83 for (; current_optab < tic30_optab_end; current_optab++)
85 if (GET_TYPE (current_optab->base_opcode) == GET_TYPE (insn_word))
87 if (current_optab->operands == 0)
89 if (current_optab->base_opcode == insn_word)
91 insn->tm = current_optab;
95 else if ((current_optab->base_opcode & NORMAL_IDEN) == (insn_word & NORMAL_IDEN))
97 insn->tm = current_optab;
108 partemplate *current_optab = (partemplate *) tic30_paroptab;
110 for (; current_optab < tic30_paroptab_end; current_optab++)
112 if (GET_TYPE (current_optab->base_opcode) == GET_TYPE (insn_word))
114 if ((current_optab->base_opcode & PAR_STORE_IDEN)
117 insn->ptm = current_optab;
128 partemplate *current_optab = (partemplate *) tic30_paroptab;
130 for (; current_optab < tic30_paroptab_end; current_optab++)
132 if (GET_TYPE (current_optab->base_opcode) == GET_TYPE (insn_word))
134 if ((current_optab->base_opcode & MUL_ADD_IDEN)
137 insn->ptm = current_optab;
148 insn_template *current_optab = (insn_template *) tic30_optab;
150 for (; current_optab < tic30_optab_end; current_optab++)
152 if (GET_TYPE (current_optab->base_opcode) == GET_TYPE (insn_word))
154 if (current_optab->operand_types[0] & Imm24)
156 if ((current_optab->base_opcode & BR_IMM_IDEN)
159 insn->tm = current_optab;
163 else if (current_optab->operands > 0)
165 if ((current_optab->base_opcode & BR_COND_IDEN)
168 insn->tm = current_optab;
174 if ((current_optab->base_opcode & (BR_COND_IDEN | 0x00800000))
177 insn->tm = current_optab;