/external/arm-neon-tests/ |
D | ref_dsp.c | 46 extern FILE* ref_file; 54 fprintf(ref_file, "\n\nDSP (non-NEON) intrinsics\n"); in exec_dsp() 62 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 68 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 74 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 80 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 86 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 92 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 98 fprintf(ref_file, "qadd(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() 106 fprintf(ref_file, "qsub(%#x, %#x) = %#x sat %d\n", svar1, svar2, sres, Overflow); in exec_dsp() [all …]
|
D | ref_dspfns.c | 44 extern FILE* ref_file; 61 fprintf(ref_file, "Checking %s with input Overflow=%d and input Carry=%d\n", in test_16_fn_32() 68 fprintf(ref_file, "%s(%#x) = %#x overflow %d carry %d\n", in test_16_fn_32() 75 fprintf(ref_file, "%s(%#x) = %#x overflow %d carry %d\n", in test_16_fn_32() 82 fprintf(ref_file, "%s(%#x) = %#x overflow %d carry %d\n", in test_16_fn_32() 89 fprintf(ref_file, "%s(%#x) = %#x overflow %d carry %d\n", in test_16_fn_32() 96 fprintf(ref_file, "%s(%#x) = %#x overflow %d carry %d\n", in test_16_fn_32() 105 fprintf(ref_file, "Checking %s with input Overflow=%d and input Carry=%d\n", in test_32_fn_32_32() 113 fprintf(ref_file, "%s(%#x, %#x) = %#x overflow %d carry %d\n", in test_32_fn_32_32() 121 fprintf(ref_file, "%s(%#x, %#x) = %#x overflow %d carry %d\n", in test_32_fn_32_32() [all …]
|
D | ref_integer.c | 45 extern FILE* ref_file; 55 fprintf(ref_file, "\n\nInteger (non-NEON) intrinsics\n"); in exec_integer() 62 fprintf(ref_file, "__clz(%#x) = %d\n", (unsigned int)uvar, clz); in exec_integer() 72 fprintf(ref_file, "__qadd(%#x, %#x) = %#x sat %d\n", in exec_integer() 79 fprintf(ref_file, "__qadd(%#x, %#x) = %#x sat %d\n", in exec_integer() 86 fprintf(ref_file, "__qadd(%#x, %#x) = %#x sat %d\n", in exec_integer() 93 fprintf(ref_file, "__qadd(%#x, %#x) = %#x sat %d\n", in exec_integer() 100 fprintf(ref_file, "__qadd(%#x, %#x) = %#x sat %d\n", in exec_integer() 107 fprintf(ref_file, "__qadd(%#x, %#x) = %#x sat %d\n", in exec_integer() 114 fprintf(ref_file, "__qadd(%#x, %#x) = %#x sat %d\n", in exec_integer() [all …]
|
D | ref_vrecpe.c | 75 fprintf (ref_file, "\n%s %s output:\n", TEST_MSG, " (positive input)"); in exec_vrecpe() 93 fprintf (ref_file, "\n%s %s output:\n", TEST_MSG, " (negative input)"); in exec_vrecpe() 107 fprintf (ref_file, "\n%s %s output:\n", TEST_MSG, " FP special (NaN, infinity)"); in exec_vrecpe() 119 fprintf (ref_file, "\n%s %s output:\n", TEST_MSG, " FP special (zero, large value)"); in exec_vrecpe() 131 fprintf (ref_file, "\n%s %s output:\n", TEST_MSG, " FP special (-0, -infinity)"); in exec_vrecpe() 141 fprintf (ref_file, "\n%s %s output:\n", TEST_MSG, " FP special (large negative value)"); in exec_vrecpe()
|
D | ref_vrsqrte.c | 75 fprintf (ref_file, "\n%s output:\n", TEST_MSG); in exec_vrsqrte() 92 fprintf (ref_file, "\n%s output:\n", TEST_MSG " (2)"); in exec_vrsqrte() 104 fprintf (ref_file, "\n%s output:\n", TEST_MSG " (3)"); in exec_vrsqrte() 116 fprintf (ref_file, "\n%s output:\n", TEST_MSG " FP special (NaN, 0)"); in exec_vrsqrte() 128 fprintf (ref_file, "\n%s output:\n", TEST_MSG " FP special (negative, infinity)"); in exec_vrsqrte() 140 fprintf (ref_file, "\n%s output:\n", TEST_MSG " FP special (-0, -infinity)"); in exec_vrsqrte()
|
D | ref_vqrshl.c | 100 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 115 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 133 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME() 147 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 181 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 198 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 215 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 242 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 270 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 298 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME()
|
D | ref_vqadd.c | 52 fprintf(ref_file, in vqadd_64() 59 fprintf(ref_file, "\n64 bits saturation:\n"); in vqadd_64() 71 fprintf(ref_file, in vqadd_64() 92 fprintf(ref_file, in vqadd_64() 112 fprintf(ref_file, "\nless than 64 bits saturation:\n"); in vqadd_64() 141 fprintf(ref_file, in vqadd_64()
|
D | ref_vqsub.c | 52 fprintf(ref_file, in vqsub_64() 60 fprintf(ref_file, "\n64 bits saturation:\n"); in vqsub_64() 72 fprintf(ref_file, in vqsub_64() 96 fprintf(ref_file, in vqsub_64() 110 fprintf(ref_file, "\nless than 64 bits saturation:\n"); in vqsub_64() 147 fprintf(ref_file, in vqsub_64()
|
D | ref_vqrshrun_n.c | 81 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 96 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 105 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 121 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 136 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME()
|
D | ref_vqshl.c | 116 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 132 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 150 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME() 164 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 179 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 212 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 227 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 237 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME()
|
D | ref_vget_lane.c | 39 fprintf(ref_file, "%s: %" PRIx##W "\n", "vget"STR(Q)"_lane_"STR(T2##W), VAR(var, T1, W)) in exec_vget_lane() 44 fprintf(ref_file, "%s: %" PRIx##W "\n", "vget"STR(Q)"_lane_"STR(T2##W), \ in exec_vget_lane() 56 …fprintf(ref_file, "%s: %" PRIx##W "\n", "vget"STR(Q)"_lane_"STR(T2##W), var_int##W##_float##W.var_… in exec_vget_lane() 81 fprintf(ref_file, "\n%s output:\n", "VGET_LANE/VGETQ_LANE"); in exec_vget_lane() 108 fprintf(ref_file, "\n"); in exec_vget_lane()
|
D | ref_vqdmull_n.c | 83 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME() 87 fprintf(ref_file, "\n%s output:\n", TEST_MSG); in FNNAME() 95 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 100 fprintf(ref_file, "\n%s output:\n", in FNNAME()
|
D | ref_vqdmull_lane.c | 84 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME() 89 fprintf(ref_file, "\n%s output:\n", TEST_MSG); in FNNAME() 100 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 105 fprintf (ref_file, "\n%s output:\n", in FNNAME()
|
D | ref_vrecps.c | 74 fprintf (ref_file, "\n%s output:\n", TEST_MSG); in exec_vrecps() 88 fprintf (ref_file, "\n%s output:\n", TEST_MSG " FP special (NAN) and normal values"); in exec_vrecps() 102 fprintf (ref_file, "\n%s output:\n", TEST_MSG " FP special (infinity, 0) and normal values"); in exec_vrecps() 117 fprintf (ref_file, "\n%s output:\n", TEST_MSG " FP special (infinity, 0)"); in exec_vrecps()
|
D | ref_vrsqrts.c | 74 fprintf (ref_file, "\n%s output:\n", TEST_MSG); in exec_vrsqrts() 88 fprintf (ref_file, "\n%s output:\n", TEST_MSG " FP special (NAN) and normal values"); in exec_vrsqrts() 102 fprintf (ref_file, "\n%s output:\n", TEST_MSG " FP special (infinity, 0) and normal values"); in exec_vrsqrts() 117 fprintf (ref_file, "\n%s output:\n", TEST_MSG " FP special (infinity, 0)"); in exec_vrsqrts()
|
D | compute_ref.c | 37 FILE* ref_file = NULL; variable 45 if (ref_file) fclose (ref_file); in cleanup() 210 ref_file = fopen (REFFILE, "w"); in main() 211 if (ref_file == NULL) { in main()
|
D | ref_vqrdmulh_n.c | 84 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME() 90 fprintf(ref_file, "\n%s output:\n", TEST_MSG); in FNNAME() 103 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 117 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME()
|
D | ref_vcvt.c | 133 fprintf(ref_file, "\n%s output:\n", TEST_MSG); in exec_vcvt() 167 fprintf(ref_file, "\n%s output:\n", TEST_MSG); in exec_vcvt() 189 fprintf(ref_file, "\n%s output:\n", TEST_MSG " (check rounding)"); in exec_vcvt() 201 fprintf(ref_file, "\n%s output:\n", TEST_MSG " (check rounding)"); in exec_vcvt() 211 fprintf(ref_file, "\n%s output:\n", TEST_MSG " (check saturation)"); in exec_vcvt() 220 fprintf(ref_file, "\n%s output:\n", TEST_MSG " (check fp16-fp32 inf/nan/denormal)"); in exec_vcvt() 229 fprintf(ref_file, "\n%s output:\n", TEST_MSG " (check fp32-fp16 inf/nan)"); in exec_vcvt()
|
D | stm-arm-neon-ref.h | 79 fprintf(ref_file, "%s:%d:%s [] = { ", MSG, result_idx++, \ 83 fprintf(ref_file, "%" FMT ", ", VECT_VAR(result, T, W, N)[i]); \ 85 fprintf(ref_file, " }\n"); \ 90 fprintf(ref_file, "%s:%d:%s [] = { ", MSG, result_idx++, \ 94 fprintf(ref_file, "%" FMT ", ", \ 97 fprintf(ref_file, " }\n"); \ 101 fprintf(ref_file, "%s:%d:%s [] = { ", MSG, result_idx++, \ 110 fprintf(ref_file, "%" FMT ", ", tmp.i); \ 112 fprintf(ref_file, " }\n"); \ 157 fprintf(ref_file, "%s:%d:%s [] = { ", MSG, result_idx++, \ [all …]
|
D | ref_vqshrun_n.c | 81 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 96 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 110 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME()
|
D | ref_vqdmlal_lane.c | 83 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME() 90 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 100 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME()
|
D | ref_vqdmulh_n.c | 84 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME() 90 fprintf(ref_file, "\n%s output:\n", TEST_MSG); in FNNAME() 103 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME()
|
D | ref_vqshlu_n.c | 79 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 105 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 120 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 145 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME()
|
D | ref_vqrdmulh_lane.c | 93 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME() 111 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 127 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME()
|
D | ref_vqshrn_n.c | 89 fprintf(ref_file, "\n%s cumulative saturation output:\n", TEST_MSG); in FNNAME() 110 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME() 124 fprintf(ref_file, "\n%s cumulative saturation output:\n", in FNNAME()
|