Lines Matching full:1

34      * simple tests for 1 thread per core, 1 core per module,  in test_topo_bits()
35 * 1 module per die, 1 die per package in test_topo_bits()
37 topo_info = (X86CPUTopoInfo) {1, 1, 1, 1}; in test_topo_bits()
43 topo_info = (X86CPUTopoInfo) {1, 1, 1, 1}; in test_topo_bits()
45 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1), ==, 1); in test_topo_bits()
52 topo_info = (X86CPUTopoInfo) {1, 1, 1, 2}; in test_topo_bits()
53 g_assert_cmpuint(apicid_smt_width(&topo_info), ==, 1); in test_topo_bits()
54 topo_info = (X86CPUTopoInfo) {1, 1, 1, 3}; in test_topo_bits()
56 topo_info = (X86CPUTopoInfo) {1, 1, 1, 4}; in test_topo_bits()
59 topo_info = (X86CPUTopoInfo) {1, 1, 1, 14}; in test_topo_bits()
61 topo_info = (X86CPUTopoInfo) {1, 1, 1, 15}; in test_topo_bits()
63 topo_info = (X86CPUTopoInfo) {1, 1, 1, 16}; in test_topo_bits()
65 topo_info = (X86CPUTopoInfo) {1, 1, 1, 17}; in test_topo_bits()
69 topo_info = (X86CPUTopoInfo) {1, 1, 30, 2}; in test_topo_bits()
71 topo_info = (X86CPUTopoInfo) {1, 1, 31, 2}; in test_topo_bits()
73 topo_info = (X86CPUTopoInfo) {1, 1, 32, 2}; in test_topo_bits()
75 topo_info = (X86CPUTopoInfo) {1, 1, 33, 2}; in test_topo_bits()
78 topo_info = (X86CPUTopoInfo) {1, 6, 30, 2}; in test_topo_bits()
80 topo_info = (X86CPUTopoInfo) {1, 7, 30, 2}; in test_topo_bits()
82 topo_info = (X86CPUTopoInfo) {1, 8, 30, 2}; in test_topo_bits()
84 topo_info = (X86CPUTopoInfo) {1, 9, 30, 2}; in test_topo_bits()
87 topo_info = (X86CPUTopoInfo) {1, 6, 30, 2}; in test_topo_bits()
90 g_assert_cmpuint(apicid_die_width(&topo_info), ==, 1); 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()
110 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1), ==, 1); 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()
115 (1 << 2) | 0); in test_topo_bits()
116 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1 * 3 + 1), ==, in test_topo_bits()
117 (1 << 2) | 1); in test_topo_bits()
118 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1 * 3 + 2), ==, in test_topo_bits()
119 (1 << 2) | 2); in test_topo_bits()
123 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 2 * 3 + 1), ==, in test_topo_bits()
124 (2 << 2) | 1); in test_topo_bits()
130 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 5 * 3 + 1), ==, in test_topo_bits()
131 (5 << 2) | 1); 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()