1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-08 22:39:44 +02:00
FFmpeg/libavcodec
Rémi Denis-Courmont 96a83ceea4 riscv: fix scalar product initialisation
VSETVLI xd, x0, ...' has rather nonobvious semantics:
- If xd is x0, then it preserves the current vector length.
- If xd is not x0, it sets the vector length to the supported maximum.

Also somewhat confusingly, while VMV.X.S always does its thing
regardless of the selected vector length, VMV.S.X does _nothing_ if the
selected vector length is zero.

So the current code breaks fails to initialise the accumulator if we
are unlucky to have a selected vector length of zero on entry. Fix it
by forcing the vector length to one.
2022-10-13 10:17:38 +02:00
..
2022-09-17 10:32:16 +02:00
2022-09-27 13:19:52 +02:00
2022-09-30 19:11:36 +02:00
2022-09-23 20:26:28 +02:00
2022-08-31 16:25:31 +02:00
2022-03-18 19:56:50 +01:00
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08:00
2022-10-05 08:26:19 +02:00
2022-10-05 08:26:19 +02:00
2022-09-30 19:11:36 +02:00
2022-09-30 19:11:36 +02:00
2022-09-07 00:07:45 +02:00
2022-09-07 00:07:45 +02:00
2022-02-24 12:56:49 +01:00
2022-07-30 11:42:06 +02:00
2022-07-30 11:42:06 +02:00
2022-06-25 09:05:58 +08:00
2022-09-29 00:05:32 +02:00
2022-09-29 00:05:32 +02:00
2022-09-30 19:11:36 +02:00
2022-09-16 10:02:19 +02:00
2022-09-30 19:30:29 +02:00
2022-03-15 09:42:43 -03:00
2022-03-15 09:42:43 -03:00
2022-02-18 20:11:06 +01:00
2022-02-18 20:11:06 +01:00
2022-10-08 10:19:30 +02:00
2022-03-16 14:04:35 +02:00
2022-09-22 01:05:59 +02:00
2022-10-02 20:27:36 +02:00
2022-09-30 04:40:44 +02:00
2022-04-10 20:12:23 +02:00
2022-06-25 09:05:58 +08:00
2022-03-15 09:42:45 -03:00
2022-09-17 10:15:01 +02:00