commit | 5f249852a50e74d8243e0777b18bdfb10d29b0f4 | [log] [tgz] |
---|---|---|
author | Dave Rodgman <dave.rodgman@arm.com> | Fri Sep 08 17:18:29 2023 +0100 |
committer | Dave Rodgman <dave.rodgman@arm.com> | Fri Sep 08 17:18:29 2023 +0100 |
tree | f80f895b084002abd04fd45c8e545de97149634c | |
parent | 99f0cdc0e0a51ba67da76656643765bc095854bf [diff] [blame] |
Better register allocation for x86_64 asm Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/library/constant_time_impl.h b/library/constant_time_impl.h index 86f7510..a8c398b 100644 --- a/library/constant_time_impl.h +++ b/library/constant_time_impl.h
@@ -348,8 +348,8 @@ "sar $63, %[x] \n\t" : [mask] "=&a" (mask), - [x] "+&S" (x), - [y] "+&D" (y) + [x] "+&D" (x), + [y] "+&S" (y) : : );