Lines Matching refs:r
156 unsigned char i, m, n, r, s, t, z; in xthal_inst_type() local
169 r = (inst>>16)&0xf; in xthal_inst_type()
183 r = (inst&0xf000)>>12; in xthal_inst_type()
191 switch (r) { in xthal_inst_type()
241 else if ((m==0x1)&&((r==0x0)||(r==0x1))) in xthal_inst_type()
263 if (r==0xf) in xthal_inst_type()
394 unsigned char op0, t, s, r, m, n; in xthal_get_npc() local
400 r = (inst&0x000f); in xthal_get_npc()
407 r = (inst&0xf000)>>12; in xthal_get_npc()
440 branch_taken = (user_state->ar[s]==b4const[r]); in xthal_get_npc()
442 branch_taken = (user_state->ar[s]!=b4const[r]); in xthal_get_npc()
444 branch_taken = (((int)user_state->ar[s])<b4const[r]); in xthal_get_npc()
446 branch_taken = (((int)user_state->ar[s])>=b4const[r]); in xthal_get_npc()
453 branch_taken = (user_state->ar[s]<b4constu[r]); in xthal_get_npc()
455 branch_taken = (user_state->ar[s]>=b4constu[r]); in xthal_get_npc()
459 if (r==0) { /* BNONE */ in xthal_get_npc()
461 } else if (r==1) { /* BEQ */ in xthal_get_npc()
463 } else if (r==2) { /* BLT */ in xthal_get_npc()
465 } else if (r==3) { /* BLTU */ in xthal_get_npc()
467 } else if (r==4) { /* BALL */ in xthal_get_npc()
469 } else if (r==5) { /* BBC */ in xthal_get_npc()
472 } else if (r==6) { /* BBCI */ in xthal_get_npc()
474 } else if (r==7) { /* BBCI */ in xthal_get_npc()
478 } else if (r==6) { /* BBCI */ in xthal_get_npc()
480 } else if (r==7) { /* BBCI */ in xthal_get_npc()
483 } else if (r==8) { /* BANY */ in xthal_get_npc()
485 } else if (r==9) { /* BNE */ in xthal_get_npc()
487 } else if (r==10) { /* BGE */ in xthal_get_npc()
489 } else if (r==11) { /* BGEU */ in xthal_get_npc()
491 } else if (r==12) { /* BNALL */ in xthal_get_npc()
493 } else if (r==13) { /* BBS */ in xthal_get_npc()
496 } else if (r==14) { /* BBSI */ in xthal_get_npc()
498 } else if (r==15) { /* BBSI */ in xthal_get_npc()
502 } else if (r==14) { /* BBSI */ in xthal_get_npc()
504 } else if (r==15) { /* BBSI */ in xthal_get_npc()