checkasm/sw_range_convert: only run benchmarks on largest input width

master
Ramiro Polla 2 months ago
parent e308d09fba
commit 2c44393c01
  1. 2
      tests/checkasm/sw_range_convert.c

@ -64,6 +64,7 @@ static void check_lumConvertRange(int from)
call_new(dst1, width);
if (memcmp(dst0, dst1, width * sizeof(int16_t)))
fail();
if (width == LARGEST_INPUT_SIZE)
bench_new(dst1, width);
}
}
@ -113,6 +114,7 @@ static void check_chrConvertRange(int from)
if (memcmp(dstU0, dstU1, width * sizeof(int16_t)) ||
memcmp(dstV0, dstV1, width * sizeof(int16_t)))
fail();
if (width == LARGEST_INPUT_SIZE)
bench_new(dstU1, dstV1, width);
}
}

Loading…
Cancel
Save