From: Michael Brown Date: Mon, 19 Mar 2012 17:22:52 +0000 (+0000) Subject: [crypto] Use correct constraint for byte-addressable register X-Git-Tag: v1.20.1~1925 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b2c7885c74ae680509e07c552e594f3787900f8;p=thirdparty%2Fipxe.git [crypto] Use correct constraint for byte-addressable register Reported-by: Daniel P. Berrange Signed-off-by: Michael Brown --- diff --git a/src/arch/x86/include/bits/bigint.h b/src/arch/x86/include/bits/bigint.h index 4c9aed62d..d3449af5a 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 ] ),