From 5f249852a50e74d8243e0777b18bdfb10d29b0f4 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Fri, 8 Sep 2023 17:18:29 +0100 Subject: [PATCH] Better register allocation for x86_64 asm Signed-off-by: Dave Rodgman --- library/constant_time_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/constant_time_impl.h b/library/constant_time_impl.h index 86f7510cb3..a8c398ba97 100644 --- a/library/constant_time_impl.h +++ b/library/constant_time_impl.h @@ -348,8 +348,8 @@ static inline mbedtls_ct_condition_t mbedtls_ct_uint_lt(mbedtls_ct_uint_t x, mbe "sar $63, %[x] \n\t" : [mask] "=&a" (mask), - [x] "+&S" (x), - [y] "+&D" (y) + [x] "+&D" (x), + [y] "+&S" (y) : : );