From 0b2c7885c74ae680509e07c552e594f3787900f8 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 19 Mar 2012 17:22:52 +0000 Subject: [PATCH] [crypto] Use correct constraint for byte-addressable register Reported-by: Daniel P. Berrange Signed-off-by: Michael Brown --- src/arch/x86/include/bits/bigint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/include/bits/bigint.h b/src/arch/x86/include/bits/bigint.h index 4c9aed62..d3449af5 100644 --- a/src/arch/x86/include/bits/bigint.h +++ b/src/arch/x86/include/bits/bigint.h @@ -183,7 +183,7 @@ bigint_is_geq_raw ( const uint32_t *value0, const uint32_t *reference0, "loope 1b\n\t" "setae %b0\n\t" "cld\n\t" - : "=r" ( result ), "=&S" ( discard_S ), + : "=q" ( result ), "=&S" ( discard_S ), "=&D" ( discard_D ), "=&c" ( discard_c ) : "0" ( 0 ), "1" ( &value->element[ size - 1 ] ), "2" ( &reference->element[ size - 1 ] ),