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 13 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
 			       "loope 1b\n\t"
183
 			       "loope 1b\n\t"
184
 			       "setae %b0\n\t"
184
 			       "setae %b0\n\t"
185
 			       "cld\n\t"
185
 			       "cld\n\t"
186
-			       : "=r" ( result ), "=&S" ( discard_S ),
186
+			       : "=q" ( result ), "=&S" ( discard_S ),
187
 				 "=&D" ( discard_D ), "=&c" ( discard_c )
187
 				 "=&D" ( discard_D ), "=&c" ( discard_c )
188
 			       : "0" ( 0 ), "1" ( &value->element[ size - 1 ] ),
188
 			       : "0" ( 0 ), "1" ( &value->element[ size - 1 ] ),
189
 				 "2" ( &reference->element[ size - 1 ] ),
189
 				 "2" ( &reference->element[ size - 1 ] ),

Loading…
Cancel
Save