[x265] [PATCH ARM 1/6] Fix __rdtsc

Karam Singh karam.singh at multicorewareinc.com
Thu Sep 12 15:23:35 UTC 2024


All the patches of this series have been pushed to the master branch.
*__________________________*
*Karam Singh*
*Ph.D. IIT Guwahati*
Senior Software (Video Coding) Engineer
Mobile: +91 8011279030
Block 9A, 6th floor, DLF Cyber City
Manapakkam, Chennai 600 089


On Thu, Sep 12, 2024 at 7:07 PM Pavan Tarun Chakka Venkata <
pavan.tarun at multicorewareinc.com> wrote:

> From ca42b073fa4ed4e31c7f84e1ce615722c155933e Mon Sep 17 00:00:00 2001
> From: Min Chen <chenm003 at 163.com>
> Date: Fri, 6 Sep 2024 23:22:57 -0700
> Subject: [PATCH 1/6] Fix __rdtsc
>
> ---
>  source/test/testharness.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/source/test/testharness.h b/source/test/testharness.h
> index 5b8e274b1..ef9c17668 100644
> --- a/source/test/testharness.h
> +++ b/source/test/testharness.h
> @@ -88,6 +88,7 @@ static inline uint32_t __rdtsc(void)
>      // TO-DO: replace clock() function with appropriate ARM cpu
> instructions
>      a = clock();
>  #elif  X265_ARCH_ARM64
> +    asm volatile("isb" : : : "memory");
>      asm volatile("mrs %0, cntvct_el0" : "=r"(a));
>  #endif
>      return a;
> --
> 2.36.0.windows.1
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20240912/42298ebb/attachment.htm>


More information about the x265-devel mailing list