Lines Matching refs:epc_insn
176 unsigned long epc_insn, far_epc_insn;
184 read_tsk_long(child, epc, &epc_insn);
186 if (is_16bitinsn(epc_insn)) {
187 if ((epc_insn & J16M) == J16) {
188 tmp = epc_insn & 0xFFE;
190 } else if ((epc_insn & B16M) == B16) {
192 tmp = (epc_insn & 0xFF) << 1;
197 } else if ((epc_insn & BR16M) == BR16) {
199 tmp = (epc_insn >> 4) & 0xF;
205 if ((epc_insn & J32M) == J32) {
206 tmp = epc_insn & 0x03FFFFFE;
210 } else if ((epc_insn & B32M) == B32) {
212 tmp = epc_insn & 0x03FFFFFE; /* discard LK bit */
219 } else if ((epc_insn & BR32M) == BR32) {
221 tmp = (epc_insn >> 16) & 0x1F;
229 read_tsk_long(child, epc, &epc_insn);
231 if (is_16bitinsn(epc_insn)) {
243 child->thread.insn1 = (short)epc_insn;
247 child->thread.insn1 = epc_insn;
251 read_tsk_long(child, epc, &epc_insn);
253 if (is_16bitinsn(epc_insn)) {
265 child->thread.insn1 = (short)epc_insn;
269 child->thread.insn1 = epc_insn;