Browse Source

[crypto] Use correct constraint for byte-addressable register

Reported-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 12 years ago
parent
commit
0b2c7885c7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/arch/x86/include/bits/bigint.h

+ 1
- 1
src/arch/x86/include/bits/bigint.h View File

@@ -183,7 +183,7 @@ bigint_is_geq_raw ( const uint32_t *value0, const uint32_t *reference0,
183 183
 			       "loope 1b\n\t"
184 184
 			       "setae %b0\n\t"
185 185
 			       "cld\n\t"
186
-			       : "=r" ( result ), "=&S" ( discard_S ),
186
+			       : "=q" ( result ), "=&S" ( discard_S ),
187 187
 				 "=&D" ( discard_D ), "=&c" ( discard_c )
188 188
 			       : "0" ( 0 ), "1" ( &value->element[ size - 1 ] ),
189 189
 				 "2" ( &reference->element[ size - 1 ] ),

Loading…
Cancel
Save