<div data-ntes="ntes_mail_body_root" style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div id="spnEditorContent"><p style="margin: 0;">looks good, thank for patch.</p><p style="margin: 0;"><span style="font-family: arial; white-space-collapse: preserve;"><br></span></p><p style="margin: 0;"><span style="font-family: arial; white-space-collapse: preserve;">At 2025-02-20 20:21:23, "George Steed" <george.steed@arm.com> wrote:</span></p></div><pre>>Clang emits a warning here since `a` is a 32-bit variable but CNTVCT_EL0
>is a 64-bit register. Suppress this warning by explicitly giving the
>destination register an x-register operand modifier to ensure the read
>is done as 64-bits to match.
>---
> source/test/testharness.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/source/test/testharness.h b/source/test/testharness.h
>index af49a910e..368c865ee 100644
>--- a/source/test/testharness.h
>+++ b/source/test/testharness.h
>@@ -89,7 +89,7 @@ static inline uint32_t __rdtsc(void)
>     a = clock();
> #elif  X265_ARCH_ARM64
>     asm volatile("isb" : : : "memory");
>-    asm volatile("mrs %0, cntvct_el0" : "=r"(a));
>+    asm volatile("mrs %x0, cntvct_el0" : "=r"(a));
> #endif
>     return a;
> }
>-- 
>2.34.1
>
</pre></div>