Files
Martin Storsjö e0e38acd2f aarch64: vp9lpf: Fix GCS violations
The aarch64 VP9 loopfilters actually violate aarch64 GCS
(Guarded Control Stack), even though we marked the code as GCS
compliant in 846746be4b.

This means that builds with GCS enabled, after that commit,
will crash when decoding VP9, on future hardware (or current
QEMU) that supports GCS. This also goes for ffmpeg version 8.1.1
where the GCS enabling was backported.

This matches the fix that was done for hevcdsp in
1f7ed8a78d.

This issue wasn't observed if running checkasm in QEMU - therefore,
I thought all GCS issues had been fixed by
846746be4b. (If I would have
tested the full "make fate" with QEMU, the issue would
have appeared though.)

However with the new checkasm, some of the GCS violations
do appear even in checkasm.

The reason is that the checkasm vp9 test intentionally craft
input pixels that attempt to trigger all the individual
separate cases in each input buffer (in
randomize_loopfilter_buffers). This means that the checkasm
tests actually never test or exercise the early exit cases,
which are the ones that violate GCS.

With the new checkasm, the call to "bench_new" always test
running the code at least once, even if not benchmarking.

As the input buffers weren't reinitialized between the test
and "bench_new", the pixel differences now differ from the
initial setup, so that the code now some times (often) would
end up hitting the early exit cases.

Ideally, the vp9 checkasm test would be repeated to cover all
cases of input buffers that allow early exits, in addition to
covering the case with all different cases in one block.

(cherry picked from commit d05786cf23)
2026-06-10 21:05:42 +03:00
..
2025-11-05 16:31:59 +00:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-10-08 20:40:08 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-12-13 18:45:17 -03:00
2025-08-03 13:48:47 +02:00
2026-05-03 19:25:01 +02:00
2025-08-03 13:48:47 +02:00
2025-11-26 15:16:42 +01:00
2025-11-08 18:48:54 +01:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-07 19:44:59 +00:00
2026-03-10 19:32:38 +01:00
2025-08-03 13:19:25 +00:00
2025-08-03 13:48:47 +02:00
2025-10-30 03:41:24 +01:00
2025-08-11 20:31:09 +02:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2025-08-03 13:48:47 +02:00
2025-11-26 15:16:43 +01:00
2025-08-03 13:19:25 +00:00
2026-02-23 23:58:11 +01:00
2025-07-20 01:05:23 +02:00
2025-12-13 18:45:17 -03:00
2026-03-15 00:49:55 +01:00
2025-12-30 17:30:45 +00:00
2025-08-03 13:48:47 +02:00
2026-01-02 18:39:48 +01:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2026-05-03 19:24:55 +02:00
2025-08-03 13:48:47 +02:00
2026-03-07 19:22:40 -03:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2026-01-10 22:47:22 +01:00
2026-02-04 12:05:35 +08:00
2026-02-04 12:05:35 +08:00
2025-08-08 18:29:40 +09:00
2026-02-11 20:35:20 +00:00
2025-08-03 13:48:47 +02:00
2026-02-19 22:39:35 +00:00
2025-08-11 11:54:31 +02:00
2025-08-03 13:48:47 +02:00
2026-03-02 19:01:46 +01:00
2026-03-02 19:01:46 +01:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2026-05-04 00:07:35 +02:00
2025-08-20 11:20:14 +02:00
2026-03-03 02:41:05 +01:00
2025-12-30 14:39:08 -05:00
2025-12-30 14:39:08 -05:00
2025-08-04 09:12:17 +00:00
2026-02-23 15:29:27 +00:00
2026-01-02 18:39:48 +01:00
2026-01-02 18:39:48 +01:00
2026-03-16 17:23:47 +01:00