summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/include/bits/bigint.h
diff options
context:
space:
mode:
authorMichael Brown2012-03-19 18:22:52 +0100
committerMichael Brown2012-03-19 18:22:52 +0100
commit0b2c7885c74ae680509e07c552e594f3787900f8 (patch)
treee5faf1c2b45f003bb0972889fefce2b151200aeb /src/arch/x86/include/bits/bigint.h
parent[tls] Validate server certificate (diff)
downloadipxe-0b2c7885c74ae680509e07c552e594f3787900f8.tar.gz
ipxe-0b2c7885c74ae680509e07c552e594f3787900f8.tar.xz
ipxe-0b2c7885c74ae680509e07c552e594f3787900f8.zip
[crypto] Use correct constraint for byte-addressable register
Reported-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/include/bits/bigint.h')
-rw-r--r--src/arch/x86/include/bits/bigint.h2
1 files changed, 1 insertions, 1 deletions
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 ] ),