• Home
  • Raw
  • Download

Lines Matching refs:cf

437 	void (*fxn)(instr_fetch_t *cf);
475 static int cf_exec(instr_cf_t *cf) in cf_exec() argument
477 return (cf->opc == EXEC) || in cf_exec()
478 (cf->opc == EXEC_END) || in cf_exec()
479 (cf->opc == COND_EXEC) || in cf_exec()
480 (cf->opc == COND_EXEC_END) || in cf_exec()
481 (cf->opc == COND_PRED_EXEC) || in cf_exec()
482 (cf->opc == COND_PRED_EXEC_END) || in cf_exec()
483 (cf->opc == COND_EXEC_PRED_CLEAN) || in cf_exec()
484 (cf->opc == COND_EXEC_PRED_CLEAN_END); in cf_exec()
487 static int cf_cond_exec(instr_cf_t *cf) in cf_cond_exec() argument
489 return (cf->opc == COND_EXEC) || in cf_cond_exec()
490 (cf->opc == COND_EXEC_END) || in cf_cond_exec()
491 (cf->opc == COND_PRED_EXEC) || in cf_cond_exec()
492 (cf->opc == COND_PRED_EXEC_END) || in cf_cond_exec()
493 (cf->opc == COND_EXEC_PRED_CLEAN) || in cf_cond_exec()
494 (cf->opc == COND_EXEC_PRED_CLEAN_END); in cf_cond_exec()
497 static void print_cf_nop(instr_cf_t *cf) in print_cf_nop() argument
501 static void print_cf_exec(instr_cf_t *cf) in print_cf_exec() argument
503 printf(" ADDR(0x%x) CNT(0x%x)", cf->exec.address, cf->exec.count); in print_cf_exec()
504 if (cf->exec.yeild) in print_cf_exec()
506 if (cf->exec.vc) in print_cf_exec()
507 printf(" VC(0x%x)", cf->exec.vc); in print_cf_exec()
508 if (cf->exec.bool_addr) in print_cf_exec()
509 printf(" BOOL_ADDR(0x%x)", cf->exec.bool_addr); in print_cf_exec()
510 if (cf->exec.address_mode == ABSOLUTE_ADDR) in print_cf_exec()
512 if (cf_cond_exec(cf)) in print_cf_exec()
513 printf(" COND(%d)", cf->exec.condition); in print_cf_exec()
516 static void print_cf_loop(instr_cf_t *cf) in print_cf_loop() argument
518 printf(" ADDR(0x%x) LOOP_ID(%d)", cf->loop.address, cf->loop.loop_id); in print_cf_loop()
519 if (cf->loop.address_mode == ABSOLUTE_ADDR) in print_cf_loop()
523 static void print_cf_jmp_call(instr_cf_t *cf) in print_cf_jmp_call() argument
525 printf(" ADDR(0x%x) DIR(%d)", cf->jmp_call.address, cf->jmp_call.direction); in print_cf_jmp_call()
526 if (cf->jmp_call.force_call) in print_cf_jmp_call()
528 if (cf->jmp_call.predicated_jmp) in print_cf_jmp_call()
529 printf(" COND(%d)", cf->jmp_call.condition); in print_cf_jmp_call()
530 if (cf->jmp_call.bool_addr) in print_cf_jmp_call()
531 printf(" BOOL_ADDR(0x%x)", cf->jmp_call.bool_addr); in print_cf_jmp_call()
532 if (cf->jmp_call.address_mode == ABSOLUTE_ADDR) in print_cf_jmp_call()
536 static void print_cf_alloc(instr_cf_t *cf) in print_cf_alloc() argument
544 printf(" %s SIZE(0x%x)", bufname[cf->alloc.buffer_select], cf->alloc.size); in print_cf_alloc()
545 if (cf->alloc.no_serial) in print_cf_alloc()
547 if (cf->alloc.alloc_mode) // ??? in print_cf_alloc()
553 void (*fxn)(instr_cf_t *cf);
575 static void print_cf(instr_cf_t *cf, int level) in print_cf() argument
579 uint16_t *words = (uint16_t *)cf; in print_cf()
583 printf("%s", cf_instructions[cf->opc].name); in print_cf()
584 cf_instructions[cf->opc].fxn(cf); in print_cf()
601 instr_cf_t *cf = &cfs[idx]; in disasm_a2xx() local
602 if (cf_exec(cf)) { in disasm_a2xx()
603 max_idx = 2 * cf->exec.address; in disasm_a2xx()
609 instr_cf_t *cf = &cfs[idx]; in disasm_a2xx() local
611 print_cf(cf, level); in disasm_a2xx()
613 if (cf_exec(cf)) { in disasm_a2xx()
614 uint32_t sequence = cf->exec.serialize; in disasm_a2xx()
616 for (i = 0; i < cf->exec.count; i++) { in disasm_a2xx()
617 uint32_t alu_off = (cf->exec.address + i); in disasm_a2xx()