Lines Matching full:3

47     g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 3), ==, 3);  in test_topo_bits()
54 topo_info = (X86CPUTopoInfo) {1, 1, 1, 3}; in test_topo_bits()
79 g_assert_cmpuint(apicid_module_width(&topo_info), ==, 3); in test_topo_bits()
81 g_assert_cmpuint(apicid_module_width(&topo_info), ==, 3); in test_topo_bits()
83 g_assert_cmpuint(apicid_module_width(&topo_info), ==, 3); in test_topo_bits()
91 topo_info = (X86CPUTopoInfo) {3, 6, 30, 2}; in test_topo_bits()
99 /* This will use 2 bits for thread ID and 3 bits for core ID in test_topo_bits()
101 topo_info = (X86CPUTopoInfo) {1, 1, 6, 3}; in test_topo_bits()
108 topo_info = (X86CPUTopoInfo) {1, 1, 6, 3}; in test_topo_bits()
113 topo_info = (X86CPUTopoInfo) {1, 1, 6, 3}; in test_topo_bits()
114 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1 * 3 + 0), ==, in test_topo_bits()
116 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1 * 3 + 1), ==, in test_topo_bits()
118 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1 * 3 + 2), ==, in test_topo_bits()
121 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 2 * 3 + 0), ==, in test_topo_bits()
123 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 2 * 3 + 1), ==, in test_topo_bits()
125 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 2 * 3 + 2), ==, in test_topo_bits()
128 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 5 * 3 + 0), ==, in test_topo_bits()
130 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 5 * 3 + 1), ==, in test_topo_bits()
132 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 5 * 3 + 2), ==, in test_topo_bits()
136 1 * 6 * 3 + 0 * 3 + 0), ==, (1 << 5)); in test_topo_bits()
138 1 * 6 * 3 + 1 * 3 + 1), ==, (1 << 5) | (1 << 2) | 1); in test_topo_bits()
140 3 * 6 * 3 + 5 * 3 + 2), ==, (3 << 5) | (5 << 2) | 2); in test_topo_bits()