]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[crypto] Use correct constraint for byte-addressable register
authorMichael Brown <mcb30@ipxe.org>
Mon, 19 Mar 2012 17:22:52 +0000 (17:22 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 19 Mar 2012 17:22:52 +0000 (17:22 +0000)
Reported-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/include/bits/bigint.h

index 4c9aed62dd2ce7f97ccccca0a50ab02439ae9515..d3449af5a96ed33764e47cb8cc2bfbd04448b8a1 100644 (file)
@@ -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 ] ),