[x264-devel] [PATCH] MIPS MSA checkasm updated
Henrik Gramner
henrik at gramner.com
Sun May 3 18:13:19 CEST 2015
On Tue, Apr 28, 2015 at 10:31 AM, Rishikesh More
<rishikesh.more at imgtec.com> wrote:
> Signed-off-by: Rishikesh More <rishikesh.more at imgtec.com>
> ---
> tools/checkasm.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tools/checkasm.c b/tools/checkasm.c
> index c2e06db..93d88fc 100644
> --- a/tools/checkasm.c
> +++ b/tools/checkasm.c
> @@ -2760,6 +2760,9 @@ static int check_all_flags( void )
> ret |= add_flags( &cpu0, &cpu1, X264_CPU_ARMV8, "ARMv8" );
> if( cpu_detect & X264_CPU_NEON )
> ret |= add_flags( &cpu0, &cpu1, X264_CPU_NEON, "NEON" );
> +#elif ARCH_MIPS
> + if( cpu_detect & X264_CPU_MSA )
> + ret |= add_flags( &cpu0, &cpu1, X264_CPU_MSA, "MSA" );
> #endif
> return ret;
> }
> --
> 2.3.2
Doesn't MIPS have any cycle count feature similar to rdtsc of x86? If
so, you should update read_time() and print_bench() as well.
More information about the x264-devel
mailing list