Re: [FFmpeg-devel] [PATCH] riscv: Tweak names of cpu flags, print flags in libavutil/tests/cpu

2023-12-15 Thread Rémi Denis-Courmont
Le 15 décembre 2023 18:39:28 GMT+02:00, "Martin Storsjö" a écrit : >On Fri, 15 Dec 2023, Rémi Denis-Courmont wrote: > >> Le 15 décembre 2023 15:05:10 GMT+02:00, "Martin Storsjö" >> a écrit : >>> The names of the cpu flags are pased by the libavutil eval >> >> PaSsed > >Actually, I meant

Re: [FFmpeg-devel] [PATCH] riscv: Tweak names of cpu flags, print flags in libavutil/tests/cpu

2023-12-15 Thread Martin Storsjö
On Fri, 15 Dec 2023, Rémi Denis-Courmont wrote: Le 15 décembre 2023 15:05:10 GMT+02:00, "Martin Storsjö" a écrit : The names of the cpu flags are pased by the libavutil eval PaSsed Actually, I meant "parsed" functions - names with dashes are parsed as a subtraction. Replace dashes with

Re: [FFmpeg-devel] [PATCH] riscv: Tweak names of cpu flags, print flags in libavutil/tests/cpu

2023-12-15 Thread Rémi Denis-Courmont
Le 15 décembre 2023 15:05:10 GMT+02:00, "Martin Storsjö" a écrit : >The names of the cpu flags are pased by the libavutil eval PaSsed >functions - names with dashes are parsed as a subtraction. >Replace dashes with underscores. My personal preference would be to use official extension

Re: [FFmpeg-devel] [PATCH] riscv: Tweak names of cpu flags, print flags in libavutil/tests/cpu

2023-12-15 Thread James Almer
On 12/15/2023 10:05 AM, Martin Storsjö wrote: The names of the cpu flags are pased by the libavutil eval functions - names with dashes are parsed as a subtraction. Replace dashes with underscores. Add these cpu flags to libavutil/tests/cpu, so that the detected cpu flags also get printed when

[FFmpeg-devel] [PATCH] riscv: Tweak names of cpu flags, print flags in libavutil/tests/cpu

2023-12-15 Thread Martin Storsjö
The names of the cpu flags are pased by the libavutil eval functions - names with dashes are parsed as a subtraction. Replace dashes with underscores. Add these cpu flags to libavutil/tests/cpu, so that the detected cpu flags also get printed when run, also as part of the fate-cpu test. ---