Lines Matching refs:assert_sve_vls

256 #define assert_sve_vls(qts, cpu_type, expected_vls, fmt, ...)          \  macro
272 assert_sve_vls(qts, cpu_type, BIT_ULL(SVE_MAX_VQ) - 1, NULL); in sve_tests_default()
275 assert_sve_vls(qts, cpu_type, 0, "{ 'sve': false }"); in sve_tests_default()
281 assert_sve_vls(qts, cpu_type, 0x7, "{ 'sve384': true }"); in sve_tests_default()
282 assert_sve_vls(qts, cpu_type, ((BIT_ULL(SVE_MAX_VQ) - 1) & ~BIT_ULL(2)), in sve_tests_default()
306 assert_sve_vls(qts, cpu_type, 0x8b, "{ 'sve1024': true }"); in sve_tests_default()
309 assert_sve_vls(qts, cpu_type, 0x8f, in sve_tests_default()
311 assert_sve_vls(qts, cpu_type, 0x8b, in sve_tests_default()
315 assert_sve_vls(qts, cpu_type, 0x8b, in sve_tests_default()
329 assert_sve_vls(qts, cpu_type, 0x7, "{ 'sve512': false }"); in sve_tests_default()
332 assert_sve_vls(qts, cpu_type, 0x1f, in sve_tests_default()
334 assert_sve_vls(qts, cpu_type, 0xf, in sve_tests_default()
344 assert_sve_vls(qts, "max", BIT_ULL(8) - 1, NULL); in sve_tests_sve_max_vq_8()
351 assert_sve_vls(qts, "max", 0xff, "{ 'sve1024': true }"); in sve_tests_sve_max_vq_8()
358 assert_sve_vls(qts, "max", 0xff, "{ 'sve1152': false }"); in sve_tests_sve_max_vq_8()
365 assert_sve_vls(qts, "max", 0xff, "{ 'sve384': true }"); in sve_tests_sve_max_vq_8()
366 assert_sve_vls(qts, "max", 0xfb, "{ 'sve384': false }"); in sve_tests_sve_max_vq_8()
367 assert_sve_vls(qts, "max", 0xff, "{ 'sve256': true }"); in sve_tests_sve_max_vq_8()
380 assert_sve_vls(qts, "max", 0, NULL); in sve_tests_sve_off()
383 assert_sve_vls(qts, "max", 0, "{ 'sve128': false }"); in sve_tests_sve_off()
389 assert_sve_vls(qts, "max", BIT_ULL(SVE_MAX_VQ) - 1, "{ 'sve': true }"); in sve_tests_sve_off()
392 assert_sve_vls(qts, "max", 0x3, in sve_tests_sve_off()
411 assert_sve_vls(qts, "max", 0, NULL); in sve_tests_sve_off_kvm()
412 assert_sve_vls(qts, "max", 0, "{ 'sve128': false }"); in sve_tests_sve_off_kvm()
480 assert_sve_vls(qts, "a64fx", 0xb, NULL); in test_query_cpu_model_expansion()
574 assert_sve_vls(qts, "host", vls, "{ %s: true }", max_name); in test_query_cpu_model_expansion_kvm()
583 assert_sve_vls(qts, "host", (vls & ~BIT_ULL(max_vq - 1)), in test_query_cpu_model_expansion_kvm()