Lines Matching refs:got
880 #define gpr_mismatch(gprn, exp, got) \ argument
882 gprn, exp, got)
884 #define reg_mismatch(name, exp, got) \ argument
886 name, exp, got)
892 struct pt_regs *regs, exp, got; in run_tests_compute() local
908 memcpy(&got, regs, sizeof(struct pt_regs)); in run_tests_compute()
915 got.msr = MSR_KERNEL; in run_tests_compute()
917 if (emulate_compute_instr(&got, instr) || in run_tests_compute()
926 if (!ignore_gpr && exp.gpr[k] != got.gpr[k]) { in run_tests_compute()
928 gpr_mismatch(k, exp.gpr[k], got.gpr[k]); in run_tests_compute()
933 if (exp.link != got.link) { in run_tests_compute()
935 reg_mismatch("LR", exp.link, got.link); in run_tests_compute()
939 if (!ignore_xer && exp.xer != got.xer) { in run_tests_compute()
941 reg_mismatch("XER", exp.xer, got.xer); in run_tests_compute()
945 if (!ignore_ccr && exp.ccr != got.ccr) { in run_tests_compute()
947 reg_mismatch("CR", exp.ccr, got.ccr); in run_tests_compute()