Home | History | Annotate | Download | only in s390x

Lines Matching defs:cc

13    uint64_t cc;
36 register uint64_t cc asm("5");
38 cc = 2; /* cc result will never be 2 */
43 : "=d"(cc),"+d"(desaddr),"+d"(srcaddr)
52 regs.cc = cc;
76 if (regs.cc == 0 && regs.len != 0)
77 printf("length is not zero but cc is zero\n");
85 return regs.cc;
91 int cc;
96 cc = run_test(NULL, NULL, NULL, 0, 0x0);
97 if (cc != 0)
98 printf("cc not updated properly:%d", cc);
100 cc = run_test(&src, &tran_table, &des, 0, 0x0);
101 if (cc != 0)
102 printf("cc not updated properly:%d",cc);
104 cc = run_test(&src, &tran_table, &des, 0, 0xcaca);
105 if (cc != 0)
106 printf("cc not updated properly:%d",cc);
109 cc = run_test(&src, &tran_table, &des, 4, 0xdada);
110 if (cc != 0)
111 printf("cc not updated properly:%d",cc);
113 cc = run_test(&src, &tran_table, &des, 10, 0x00);
114 if (cc != 0)
115 printf("cc not updated properly:%d",cc);
120 cc = run_test(&src, &tran_table, &des, 10, 0xffff);
121 if (cc != 1)
122 printf("cc not updated properly:%d",cc);
124 cc = run_test(&src, &tran_table, &des, 10, 0xcccc);
125 if (cc != 1)
126 printf("cc not updated properly:%d",cc);
128 cc = run_test(&src, &tran_table, &des, 20, 0xeaea);
129 if (cc != 1)
130 printf("cc not updated properly:%d",cc);