On 2026/01/15 03:31, Brad Smith wrote:
> Here is an update to SVT-AV1 3.1.2.

There are BTCFI issues at least on amd64.

To get the tests to run, allow net during build, set
CONFIGURE_ARGS= -DBUILD_TESTING=On. "make test" will run them if you
disable NO_TEST, but you won't get cores. Alternatively run by hand
with

cd `make show=WRKSRC`
LD_LIBRARY_PATH=Bin/Release Bin/Release/SvtAv1UnitTests

You can also use --gtest_list_tests and --gtest_filter="..." to do a
subset. To run just the tests I already know to fail (saving a bunch
of time): --gtest_filter="AVX2/*bdCompBlend*Mask"

Failure looks like

[----------] 1 test from AVX2/LbdCompBlendHMaskTest
[ RUN      ] AVX2/LbdCompBlendHMaskTest.BlendA64Mask/0
Illegal instruction (core dumped) 

  8643 SvtAv1UnitTests PSIG  SIGILL SIG_DFL code=ILL_BTCFI addr=0xdf3944d0680 
trapno=21

Backtrace points at svt_dav1d_blend_v_8bpc_avx2.w4

I'm currently running tests with 3.1.2 on Apple M2, and with 2.3.0 on
amd64 to see whether the old version also had failures, will reply with
info from those later when they're done.

Reply via email to