Lines Matching refs:tst
31 do_op_N (const alu_test *tst)
35 OP_BEGIN (tst->begin);
36 print_hex (tst->begin, N);
37 for (op = tst->ops; op->op != NULL; op++)
82 print_hex (tst->result, N);
84 printf (" B:%d", tst->carry_borrow);
86 printf (" C:%d", tst->carry_borrow);
87 printf (" V:%d", tst->overflow);
88 if (tst->carry_borrow != HAD_CARRY_BORROW)
96 if (tst->overflow != HAD_OVERFLOW)
101 if ((unsignedN) CARRY_BORROW_RESULT != (unsignedN) tst->result)
107 if ((unsignedN) OVERFLOW_RESULT != (unsignedN) tst->result)
113 if ((unsignedN) RESULT != (unsignedN) tst->result)
236 const alu_test *tst = &alu_N_tests[i];
237 do_op_N (tst);