Lines Matching defs:cc
13 uint64_t cc;
35 register uint64_t cc asm("5");
37 cc = 2; /* cc result will never be 2 */
42 : "=d"(cc),"+&d"(desaddr)
51 regs.cc = cc;
74 if (regs.cc == 0 && regs.len != 0)
75 printf("length is not zero but cc is zero\n");
83 return regs.cc;
88 int cc;
93 cc = run_test(NULL, NULL, NULL, 0, 0x0);
94 if (cc != 0)
95 printf("cc not updated properly:%d", cc);
97 cc = run_test(&src, &tran_table, &des, 0, 0xca);
98 if (cc != 0)
99 printf("cc not updated properly:%d",cc);
102 cc = run_test(&src, &tran_table, &des, 5, 0xee);
103 if (cc != 0)
104 printf("cc not updated properly:%d",cc);
106 cc = run_test(&src, &tran_table, &des, 10, 0x00);
107 if (cc != 0)
108 printf("cc not updated properly:%d",cc);
113 cc = run_test(&src, &tran_table, &des, 5, 0xff); /* 1st byte matches */
114 if (cc != 1)
115 printf("cc not updated properly:%d",cc);
117 cc = run_test(&src, &tran_table, &des, 5, 0xbb); /* 2nd byte matches */
118 if (cc != 1)
119 printf("cc not updated properly:%d",cc);
121 cc = run_test(&src, &tran_table, &des, 10, 0xea);
122 if (cc != 1)
123 printf("cc not updated properly:%d",cc);