mirror of
https://github.com/ipxe/ipxe
synced 2025-12-28 10:32:52 +03:00
[crypto] Use correct constraint for byte-addressable register
Reported-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -183,7 +183,7 @@ bigint_is_geq_raw ( const uint32_t *value0, const uint32_t *reference0,
|
|||||||
"loope 1b\n\t"
|
"loope 1b\n\t"
|
||||||
"setae %b0\n\t"
|
"setae %b0\n\t"
|
||||||
"cld\n\t"
|
"cld\n\t"
|
||||||
: "=r" ( result ), "=&S" ( discard_S ),
|
: "=q" ( result ), "=&S" ( discard_S ),
|
||||||
"=&D" ( discard_D ), "=&c" ( discard_c )
|
"=&D" ( discard_D ), "=&c" ( discard_c )
|
||||||
: "0" ( 0 ), "1" ( &value->element[ size - 1 ] ),
|
: "0" ( 0 ), "1" ( &value->element[ size - 1 ] ),
|
||||||
"2" ( &reference->element[ size - 1 ] ),
|
"2" ( &reference->element[ size - 1 ] ),
|
||||||
|
|||||||
Reference in New Issue
Block a user