Lines Matching full:test
11 * CPU test
17 * The test cases are composed so that they do not
19 * The test contains a pre-built table describing all test cases.
23 * instruction, the test verifies the contents of the array
153 struct cpu_post_store_s *test = cpu_post_store_table + i; in cpu_post_test_store() local
159 if (test->index) in cpu_post_test_store()
163 ASM_12(test->cmd, 5, 3, 4), in cpu_post_test_store()
167 cpu_post_exec_12w (code, &base, test->offset, test->value); in cpu_post_test_store()
173 ASM_11I(test->cmd, 4, 3, test->offset), in cpu_post_test_store()
177 cpu_post_exec_11w (code, &base, test->value); in cpu_post_test_store()
182 if (test->update) in cpu_post_test_store()
183 ret = base == base0 + test->offset ? 0 : -1; in cpu_post_test_store()
190 switch (test->width) in cpu_post_test_store()
193 ret = *(uchar *)(base0 + test->offset) == test->value ? in cpu_post_test_store()
197 ret = *(ushort *)(base0 + test->offset) == test->value ? in cpu_post_test_store()
201 ret = *(ulong *)(base0 + test->offset) == test->value ? in cpu_post_test_store()
209 post_log ("Error at store test %d !\n", i); in cpu_post_test_store()