From 039cf7d64d695b9ba4e965a60ed0fe2b6b2af980 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Mon, 11 Aug 2014 13:59:49 +0000 Subject: [PATCH] arm64: enable test cases for: uqshrn{2}, sqrshrun{2}, sqshrun{2} (vector, imm) sqxtn{2}, uqxtn{2}, sqxtun{2} (vector and scalar) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14257 --- none/tests/arm64/fp_and_simd.c | 270 ++++++++++++++++----------------- 1 file changed, 135 insertions(+), 135 deletions(-) diff --git a/none/tests/arm64/fp_and_simd.c b/none/tests/arm64/fp_and_simd.c index 88854330e..f5696258e 100644 --- a/none/tests/arm64/fp_and_simd.c +++ b/none/tests/arm64/fp_and_simd.c @@ -4590,114 +4590,114 @@ int main ( void ) // uqshrn{2} 2s/4s_2d, 4h/8h_4s, 8b/16b_8h, #imm // sqrshrun{2} 2s/4s_2d, 4h/8h_4s, 8b/16b_8h, #imm // sqshrun{2} 2s/4s_2d, 4h/8h_4s, 8b/16b_8h, #imm - if (0) test_sqrshrn_2s_2d_1(TyD); - if (0) test_sqrshrn_2s_2d_17(TyD); - if (0) test_sqrshrn_2s_2d_32(TyD); - if (0) test_sqrshrn2_4s_2d_1(TyD); - if (0) test_sqrshrn2_4s_2d_17(TyD); - if (0) test_sqrshrn2_4s_2d_32(TyD); - if (0) test_sqrshrn_4h_4s_1(TyS); - if (0) test_sqrshrn_4h_4s_9(TyS); - if (0) test_sqrshrn_4h_4s_16(TyS); - if (0) test_sqrshrn2_8h_4s_1(TyS); - if (0) test_sqrshrn2_8h_4s_9(TyS); - if (0) test_sqrshrn2_8h_4s_16(TyS); - if (0) test_sqrshrn_8b_8h_1(TyH); - if (0) test_sqrshrn_8b_8h_4(TyH); - if (0) test_sqrshrn_8b_8h_8(TyH); - if (0) test_sqrshrn2_16b_8h_1(TyH); - if (0) test_sqrshrn2_16b_8h_4(TyH); - if (0) test_sqrshrn2_16b_8h_8(TyH); - if (0) test_uqrshrn_2s_2d_1(TyD); - if (0) test_uqrshrn_2s_2d_17(TyD); - if (0) test_uqrshrn_2s_2d_32(TyD); - if (0) test_uqrshrn2_4s_2d_1(TyD); - if (0) test_uqrshrn2_4s_2d_17(TyD); - if (0) test_uqrshrn2_4s_2d_32(TyD); - if (0) test_uqrshrn_4h_4s_1(TyS); - if (0) test_uqrshrn_4h_4s_9(TyS); - if (0) test_uqrshrn_4h_4s_16(TyS); - if (0) test_uqrshrn2_8h_4s_1(TyS); - if (0) test_uqrshrn2_8h_4s_9(TyS); - if (0) test_uqrshrn2_8h_4s_16(TyS); - if (0) test_uqrshrn_8b_8h_1(TyH); - if (0) test_uqrshrn_8b_8h_4(TyH); - if (0) test_uqrshrn_8b_8h_8(TyH); - if (0) test_uqrshrn2_16b_8h_1(TyH); - if (0) test_uqrshrn2_16b_8h_4(TyH); - if (0) test_uqrshrn2_16b_8h_8(TyH); - if (0) test_sqshrn_2s_2d_1(TyD); - if (0) test_sqshrn_2s_2d_17(TyD); - if (0) test_sqshrn_2s_2d_32(TyD); - if (0) test_sqshrn2_4s_2d_1(TyD); - if (0) test_sqshrn2_4s_2d_17(TyD); - if (0) test_sqshrn2_4s_2d_32(TyD); - if (0) test_sqshrn_4h_4s_1(TyS); - if (0) test_sqshrn_4h_4s_9(TyS); - if (0) test_sqshrn_4h_4s_16(TyS); - if (0) test_sqshrn2_8h_4s_1(TyS); - if (0) test_sqshrn2_8h_4s_9(TyS); - if (0) test_sqshrn2_8h_4s_16(TyS); - if (0) test_sqshrn_8b_8h_1(TyH); - if (0) test_sqshrn_8b_8h_4(TyH); - if (0) test_sqshrn_8b_8h_8(TyH); - if (0) test_sqshrn2_16b_8h_1(TyH); - if (0) test_sqshrn2_16b_8h_4(TyH); - if (0) test_sqshrn2_16b_8h_8(TyH); - if (0) test_uqshrn_2s_2d_1(TyD); - if (0) test_uqshrn_2s_2d_17(TyD); - if (0) test_uqshrn_2s_2d_32(TyD); - if (0) test_uqshrn2_4s_2d_1(TyD); - if (0) test_uqshrn2_4s_2d_17(TyD); - if (0) test_uqshrn2_4s_2d_32(TyD); - if (0) test_uqshrn_4h_4s_1(TyS); - if (0) test_uqshrn_4h_4s_9(TyS); - if (0) test_uqshrn_4h_4s_16(TyS); - if (0) test_uqshrn2_8h_4s_1(TyS); - if (0) test_uqshrn2_8h_4s_9(TyS); - if (0) test_uqshrn2_8h_4s_16(TyS); - if (0) test_uqshrn_8b_8h_1(TyH); - if (0) test_uqshrn_8b_8h_4(TyH); - if (0) test_uqshrn_8b_8h_8(TyH); - if (0) test_uqshrn2_16b_8h_1(TyH); - if (0) test_uqshrn2_16b_8h_4(TyH); - if (0) test_uqshrn2_16b_8h_8(TyH); - if (0) test_sqrshrun_2s_2d_1(TyD); - if (0) test_sqrshrun_2s_2d_17(TyD); - if (0) test_sqrshrun_2s_2d_32(TyD); - if (0) test_sqrshrun2_4s_2d_1(TyD); - if (0) test_sqrshrun2_4s_2d_17(TyD); - if (0) test_sqrshrun2_4s_2d_32(TyD); - if (0) test_sqrshrun_4h_4s_1(TyS); - if (0) test_sqrshrun_4h_4s_9(TyS); - if (0) test_sqrshrun_4h_4s_16(TyS); - if (0) test_sqrshrun2_8h_4s_1(TyS); - if (0) test_sqrshrun2_8h_4s_9(TyS); - if (0) test_sqrshrun2_8h_4s_16(TyS); - if (0) test_sqrshrun_8b_8h_1(TyH); - if (0) test_sqrshrun_8b_8h_4(TyH); - if (0) test_sqrshrun_8b_8h_8(TyH); - if (0) test_sqrshrun2_16b_8h_1(TyH); - if (0) test_sqrshrun2_16b_8h_4(TyH); - if (0) test_sqrshrun2_16b_8h_8(TyH); - if (0) test_sqshrun_2s_2d_1(TyD); - if (0) test_sqshrun_2s_2d_17(TyD); - if (0) test_sqshrun_2s_2d_32(TyD); - if (0) test_sqshrun2_4s_2d_1(TyD); - if (0) test_sqshrun2_4s_2d_17(TyD); - if (0) test_sqshrun2_4s_2d_32(TyD); - if (0) test_sqshrun_4h_4s_1(TyS); - if (0) test_sqshrun_4h_4s_9(TyS); - if (0) test_sqshrun_4h_4s_16(TyS); - if (0) test_sqshrun2_8h_4s_1(TyS); - if (0) test_sqshrun2_8h_4s_9(TyS); - if (0) test_sqshrun2_8h_4s_16(TyS); - if (0) test_sqshrun_8b_8h_1(TyH); - if (0) test_sqshrun_8b_8h_4(TyH); - if (0) test_sqshrun_8b_8h_8(TyH); - if (0) test_sqshrun2_16b_8h_1(TyH); - if (0) test_sqshrun2_16b_8h_4(TyH); - if (0) test_sqshrun2_16b_8h_8(TyH); + if (1) test_sqrshrn_2s_2d_1(TyD); + if (1) test_sqrshrn_2s_2d_17(TyD); + if (1) test_sqrshrn_2s_2d_32(TyD); + if (1) test_sqrshrn2_4s_2d_1(TyD); + if (1) test_sqrshrn2_4s_2d_17(TyD); + if (1) test_sqrshrn2_4s_2d_32(TyD); + if (1) test_sqrshrn_4h_4s_1(TyS); + if (1) test_sqrshrn_4h_4s_9(TyS); + if (1) test_sqrshrn_4h_4s_16(TyS); + if (1) test_sqrshrn2_8h_4s_1(TyS); + if (1) test_sqrshrn2_8h_4s_9(TyS); + if (1) test_sqrshrn2_8h_4s_16(TyS); + if (1) test_sqrshrn_8b_8h_1(TyH); + if (1) test_sqrshrn_8b_8h_4(TyH); + if (1) test_sqrshrn_8b_8h_8(TyH); + if (1) test_sqrshrn2_16b_8h_1(TyH); + if (1) test_sqrshrn2_16b_8h_4(TyH); + if (1) test_sqrshrn2_16b_8h_8(TyH); + if (1) test_uqrshrn_2s_2d_1(TyD); + if (1) test_uqrshrn_2s_2d_17(TyD); + if (1) test_uqrshrn_2s_2d_32(TyD); + if (1) test_uqrshrn2_4s_2d_1(TyD); + if (1) test_uqrshrn2_4s_2d_17(TyD); + if (1) test_uqrshrn2_4s_2d_32(TyD); + if (1) test_uqrshrn_4h_4s_1(TyS); + if (1) test_uqrshrn_4h_4s_9(TyS); + if (1) test_uqrshrn_4h_4s_16(TyS); + if (1) test_uqrshrn2_8h_4s_1(TyS); + if (1) test_uqrshrn2_8h_4s_9(TyS); + if (1) test_uqrshrn2_8h_4s_16(TyS); + if (1) test_uqrshrn_8b_8h_1(TyH); + if (1) test_uqrshrn_8b_8h_4(TyH); + if (1) test_uqrshrn_8b_8h_8(TyH); + if (1) test_uqrshrn2_16b_8h_1(TyH); + if (1) test_uqrshrn2_16b_8h_4(TyH); + if (1) test_uqrshrn2_16b_8h_8(TyH); + if (1) test_sqshrn_2s_2d_1(TyD); + if (1) test_sqshrn_2s_2d_17(TyD); + if (1) test_sqshrn_2s_2d_32(TyD); + if (1) test_sqshrn2_4s_2d_1(TyD); + if (1) test_sqshrn2_4s_2d_17(TyD); + if (1) test_sqshrn2_4s_2d_32(TyD); + if (1) test_sqshrn_4h_4s_1(TyS); + if (1) test_sqshrn_4h_4s_9(TyS); + if (1) test_sqshrn_4h_4s_16(TyS); + if (1) test_sqshrn2_8h_4s_1(TyS); + if (1) test_sqshrn2_8h_4s_9(TyS); + if (1) test_sqshrn2_8h_4s_16(TyS); + if (1) test_sqshrn_8b_8h_1(TyH); + if (1) test_sqshrn_8b_8h_4(TyH); + if (1) test_sqshrn_8b_8h_8(TyH); + if (1) test_sqshrn2_16b_8h_1(TyH); + if (1) test_sqshrn2_16b_8h_4(TyH); + if (1) test_sqshrn2_16b_8h_8(TyH); + if (1) test_uqshrn_2s_2d_1(TyD); + if (1) test_uqshrn_2s_2d_17(TyD); + if (1) test_uqshrn_2s_2d_32(TyD); + if (1) test_uqshrn2_4s_2d_1(TyD); + if (1) test_uqshrn2_4s_2d_17(TyD); + if (1) test_uqshrn2_4s_2d_32(TyD); + if (1) test_uqshrn_4h_4s_1(TyS); + if (1) test_uqshrn_4h_4s_9(TyS); + if (1) test_uqshrn_4h_4s_16(TyS); + if (1) test_uqshrn2_8h_4s_1(TyS); + if (1) test_uqshrn2_8h_4s_9(TyS); + if (1) test_uqshrn2_8h_4s_16(TyS); + if (1) test_uqshrn_8b_8h_1(TyH); + if (1) test_uqshrn_8b_8h_4(TyH); + if (1) test_uqshrn_8b_8h_8(TyH); + if (1) test_uqshrn2_16b_8h_1(TyH); + if (1) test_uqshrn2_16b_8h_4(TyH); + if (1) test_uqshrn2_16b_8h_8(TyH); + if (1) test_sqrshrun_2s_2d_1(TyD); + if (1) test_sqrshrun_2s_2d_17(TyD); + if (1) test_sqrshrun_2s_2d_32(TyD); + if (1) test_sqrshrun2_4s_2d_1(TyD); + if (1) test_sqrshrun2_4s_2d_17(TyD); + if (1) test_sqrshrun2_4s_2d_32(TyD); + if (1) test_sqrshrun_4h_4s_1(TyS); + if (1) test_sqrshrun_4h_4s_9(TyS); + if (1) test_sqrshrun_4h_4s_16(TyS); + if (1) test_sqrshrun2_8h_4s_1(TyS); + if (1) test_sqrshrun2_8h_4s_9(TyS); + if (1) test_sqrshrun2_8h_4s_16(TyS); + if (1) test_sqrshrun_8b_8h_1(TyH); + if (1) test_sqrshrun_8b_8h_4(TyH); + if (1) test_sqrshrun_8b_8h_8(TyH); + if (1) test_sqrshrun2_16b_8h_1(TyH); + if (1) test_sqrshrun2_16b_8h_4(TyH); + if (1) test_sqrshrun2_16b_8h_8(TyH); + if (1) test_sqshrun_2s_2d_1(TyD); + if (1) test_sqshrun_2s_2d_17(TyD); + if (1) test_sqshrun_2s_2d_32(TyD); + if (1) test_sqshrun2_4s_2d_1(TyD); + if (1) test_sqshrun2_4s_2d_17(TyD); + if (1) test_sqshrun2_4s_2d_32(TyD); + if (1) test_sqshrun_4h_4s_1(TyS); + if (1) test_sqshrun_4h_4s_9(TyS); + if (1) test_sqshrun_4h_4s_16(TyS); + if (1) test_sqshrun2_8h_4s_1(TyS); + if (1) test_sqshrun2_8h_4s_9(TyS); + if (1) test_sqshrun2_8h_4s_16(TyS); + if (1) test_sqshrun_8b_8h_1(TyH); + if (1) test_sqshrun_8b_8h_4(TyH); + if (1) test_sqshrun_8b_8h_8(TyH); + if (1) test_sqshrun2_16b_8h_1(TyH); + if (1) test_sqshrun2_16b_8h_4(TyH); + if (1) test_sqshrun2_16b_8h_8(TyH); // sqshl (imm) d,s,h,b _#imm // uqshl (imm) d,s,h,b _#imm @@ -4809,37 +4809,37 @@ int main ( void ) // sqxtn s_d,h_s,b_h // uqxtn s_d,h_s,b_h // sqxtun s_d,h_s,b_h - if (0) test_sqxtn_s_d(TyD); - if (0) test_sqxtn_h_s(TyS); - if (0) test_sqxtn_b_h(TyH); - if (0) test_uqxtn_s_d(TyD); - if (0) test_uqxtn_h_s(TyS); - if (0) test_uqxtn_b_h(TyH); - if (0) test_sqxtun_s_d(TyD); - if (0) test_sqxtun_h_s(TyS); - if (0) test_sqxtun_b_h(TyH); + if (1) test_sqxtn_s_d(TyD); + if (1) test_sqxtn_h_s(TyS); + if (1) test_sqxtn_b_h(TyH); + if (1) test_uqxtn_s_d(TyD); + if (1) test_uqxtn_h_s(TyS); + if (1) test_uqxtn_b_h(TyH); + if (1) test_sqxtun_s_d(TyD); + if (1) test_sqxtun_h_s(TyS); + if (1) test_sqxtun_b_h(TyH); // sqxtn{2} 2s/4s_2d, 4h/8h_4s, 8b/16b_8h // uqxtn{2} 2s/4s_2d, 4h/8h_4s, 8b/16b_8h // sqxtun{2} 2s/4s_2d, 4h/8h_4s, 8b/16b_8h - if (0) test_sqxtn_2s_2d(TyD); - if (0) test_sqxtn2_4s_2d(TyD); - if (0) test_sqxtn_4h_4s(TyS); - if (0) test_sqxtn2_8h_4s(TyS); - if (0) test_sqxtn_8b_8h(TyH); - if (0) test_sqxtn2_16b_8h(TyH); - if (0) test_uqxtn_2s_2d(TyD); - if (0) test_uqxtn2_4s_2d(TyD); - if (0) test_uqxtn_4h_4s(TyS); - if (0) test_uqxtn2_8h_4s(TyS); - if (0) test_uqxtn_8b_8h(TyH); - if (0) test_uqxtn2_16b_8h(TyH); - if (0) test_sqxtun_2s_2d(TyD); - if (0) test_sqxtun2_4s_2d(TyD); - if (0) test_sqxtun_4h_4s(TyS); - if (0) test_sqxtun2_8h_4s(TyS); - if (0) test_sqxtun_8b_8h(TyH); - if (0) test_sqxtun2_16b_8h(TyH); + if (1) test_sqxtn_2s_2d(TyD); + if (1) test_sqxtn2_4s_2d(TyD); + if (1) test_sqxtn_4h_4s(TyS); + if (1) test_sqxtn2_8h_4s(TyS); + if (1) test_sqxtn_8b_8h(TyH); + if (1) test_sqxtn2_16b_8h(TyH); + if (1) test_uqxtn_2s_2d(TyD); + if (1) test_uqxtn2_4s_2d(TyD); + if (1) test_uqxtn_4h_4s(TyS); + if (1) test_uqxtn2_8h_4s(TyS); + if (1) test_uqxtn_8b_8h(TyH); + if (1) test_uqxtn2_16b_8h(TyH); + if (1) test_sqxtun_2s_2d(TyD); + if (1) test_sqxtun2_4s_2d(TyD); + if (1) test_sqxtun_4h_4s(TyS); + if (1) test_sqxtun2_8h_4s(TyS); + if (1) test_sqxtun_8b_8h(TyH); + if (1) test_sqxtun2_16b_8h(TyH); // srhadd 4s,2s,8h,4h,16b,8b // urhadd 4s,2s,8h,4h,16b,8b